summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-10 20:53:05 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-10 20:53:05 +0200
commita6b7a08ae04a3cd4d9c45c906bb7a197e2135179 (patch)
tree2adc8f539865a19045daac26adb5de10a4522f88 /src/vim.h
parenta357e44ccdf5cfe9f6d35cc348ca33ccd973e1a9 (diff)
downloadvim-git-7.4.2192.tar.gz
patch 7.4.2192v7.4.2192
Problem: Generating prototypes with Cygwin doesn't work well. Solution: Change #ifdefs. (Ken Takata)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim.h b/src/vim.h
index 085f73d8a..05f97ba69 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2109,7 +2109,7 @@ typedef enum
* been seen at that stage. But it must be before globals.h, where error_ga
* is declared. */
#if !defined(FEAT_GUI_W32) && !defined(FEAT_GUI_X11) \
- && !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_MAC)
+ && !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_MAC) && !defined(PROTO)
# define mch_errmsg(str) fprintf(stderr, "%s", (str))
# define display_errors() fflush(stderr)
# define mch_msg(str) printf("%s", (str))