diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-17 17:44:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-17 17:44:42 +0100 |
commit | 4f97475d326c2773a78561fb874e4f23c25cbcd9 (patch) | |
tree | 7e066bc70556dfbb415ddb9f364e8432e8aaf189 /src/os_w32exe.c | |
parent | 78d21dae9c3a39efb30316d3e38dce120bc1abbd (diff) | |
download | vim-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_w32exe.c')
-rw-r--r-- | src/os_w32exe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_w32exe.c b/src/os_w32exe.c index f96bff4c8..197d65da4 100644 --- a/src/os_w32exe.c +++ b/src/os_w32exe.c @@ -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 |