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:
@@ -22,7 +22,7 @@
|
||||
|
||||
/* cproto doesn't create a prototype for main() */
|
||||
int _cdecl
|
||||
#if defined(FEAT_GUI_W32)
|
||||
#if defined(FEAT_GUI_MSWIN)
|
||||
VimMain
|
||||
#else
|
||||
main
|
||||
@@ -104,7 +104,7 @@ WinMain(
|
||||
pSaveInst = SaveInst;
|
||||
# endif
|
||||
pmain =
|
||||
# if defined(FEAT_GUI_W32)
|
||||
# if defined(FEAT_GUI_MSWIN)
|
||||
//&& defined(__MINGW32__)
|
||||
VimMain
|
||||
# else
|
||||
|
Reference in New Issue
Block a user