diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-03 20:31:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-03 20:31:00 +0200 |
commit | 796cc42d3a4fc7a940da87831a111eeb6b7a5cf3 (patch) | |
tree | 475eb4004310f0ce6d7753237656053e7349072b /src/main.c | |
parent | 0eb035c974c47e65d32439b48e5a056b370ad429 (diff) | |
download | vim-git-796cc42d3a4fc7a940da87831a111eeb6b7a5cf3.tar.gz |
patch 8.1.1104: MS-Windows: not all environment variables can be usedv8.1.1104
Problem: MS-Windows: not all environment variables can be used.
Solution: Use the wide version of WinMain() and main(). (Ken Takata,
closes #4206)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 3041df9c2..a07ce1b83 100644 --- a/src/main.c +++ b/src/main.c @@ -96,7 +96,7 @@ static char_u *start_dir = NULL; /* current working dir on startup */ static int has_dash_c_arg = FALSE; int -# ifdef FEAT_GUI_MSWIN +# ifdef MSWIN # ifdef __BORLANDC__ _cdecl # endif |