summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-14 14:08:04 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-14 14:08:04 +0100
commit9b5c1fcdeae75f82a2083fafbbf75ab220f6ac1e (patch)
treed051df8c1f277a55dd178ff945496fd7181eb475 /src/vim.h
parent445e71c5ee06015064cf0642cac8190cfe8fbc59 (diff)
downloadvim-git-9b5c1fcdeae75f82a2083fafbbf75ab220f6ac1e.tar.gz
patch 8.1.0918: MS-Windows: startup messages are not convertedv8.1.0918
Problem: MS-Windows: startup messages are not converted. Solution: Convert messages when the current codepage differs from 'encoding'. (Yasuhiro Matsumoto, closes #3914)
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 7ee164af7..be1ec1d31 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2093,7 +2093,7 @@ typedef enum {
* functions of these names. The declarations would break if the defines had
* 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) \
+#if !defined(MSWIN) && !defined(FEAT_GUI_X11) \
&& !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_MAC) && !defined(PROTO)
# define mch_errmsg(str) fprintf(stderr, "%s", (str))
# define display_errors() fflush(stderr)