Remove ole

This commit is contained in:
John Schmidt
2014-03-18 17:16:01 +01:00
committed by Thiago de Arruda
parent 84b06b77bd
commit f226a4c2cd
3 changed files with 2 additions and 11 deletions

View File

@@ -10290,9 +10290,6 @@ static void f_has(typval_T *argvars, typval_T *rettv)
#endif #endif
"multi_byte", "multi_byte",
"multi_lang", "multi_lang",
#ifdef FEAT_OLE
"ole",
#endif
"path_extra", "path_extra",
"persistent_undo", "persistent_undo",
"postscript", "postscript",

View File

@@ -2224,10 +2224,6 @@ static void usage(void)
main_msg(_("--\t\t\tOnly file names after this")); main_msg(_("--\t\t\tOnly file names after this"));
#if (!defined(UNIX) && !defined(__EMX__)) || defined(ARCHIE) #if (!defined(UNIX) && !defined(__EMX__)) || defined(ARCHIE)
main_msg(_("--literal\t\tDon't expand wildcards")); main_msg(_("--literal\t\tDon't expand wildcards"));
#endif
#ifdef FEAT_OLE
main_msg(_("-register\t\tRegister this gvim for OLE"));
main_msg(_("-unregister\t\tUnregister gvim for OLE"));
#endif #endif
main_msg(_("-v\t\t\tVi mode (like \"vi\")")); main_msg(_("-v\t\t\tVi mode (like \"vi\")"));
main_msg(_("-e\t\t\tEx mode (like \"ex\")")); main_msg(_("-e\t\t\tEx mode (like \"ex\")"));

View File

@@ -313,12 +313,10 @@ int vim_is_input_buf_empty(void)
return inbufcount == 0; return inbufcount == 0;
} }
#if defined(FEAT_OLE) || defined(PROTO) #ifdef PROTO
int vim_free_in_input_buf(void) int vim_free_in_input_buf(void) {
{
return INBUFLEN - inbufcount; return INBUFLEN - inbufcount;
} }
#endif #endif