summaryrefslogtreecommitdiff
path: root/src/os_win32.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-17 17:44:42 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-17 17:44:42 +0100
commit4f97475d326c2773a78561fb874e4f23c25cbcd9 (patch)
tree7e066bc70556dfbb415ddb9f364e8432e8aaf189 /src/os_win32.h
parent78d21dae9c3a39efb30316d3e38dce120bc1abbd (diff)
downloadvim-git-4f97475d326c2773a78561fb874e4f23c25cbcd9.tar.gz
patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
Diffstat (limited to 'src/os_win32.h')
-rw-r--r--src/os_win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_win32.h b/src/os_win32.h
index 6c4a349f9..6ebe0373e 100644
--- a/src/os_win32.h
+++ b/src/os_win32.h
@@ -70,7 +70,7 @@
#if defined(__DATE__) && defined(__TIME__)
# define HAVE_DATE_TIME
#endif
-#ifndef FEAT_GUI_W32 /* GUI works different */
+#ifndef FEAT_GUI_MSWIN /* GUI works different */
# define BREAKCHECK_SKIP 1 /* call mch_breakcheck() each time, it's fast */
#endif
@@ -78,7 +78,7 @@
#define HAVE_PUTENV /* at least Bcc 5.2 and MSC have it */
-#ifdef FEAT_GUI_W32
+#ifdef FEAT_GUI_MSWIN
# define NO_CONSOLE /* don't included console-only code */
#endif