forked from aniani/vim
patch 8.1.0941: macros for MS-Windows are inconsistent
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)
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user