diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-19 18:58:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-19 18:58:07 +0200 |
commit | 828c3d70833a0689cc07581f2a67d06430675da5 (patch) | |
tree | 612b23768f415285a94cce0044b594866a2ea5bb /src/Make_mvc.mak | |
parent | 8516071124dbb7ad7caa43cc98ae3c57ae093c9e (diff) |
patch 8.1.0084: user name completion does not work on MS-Windowsv8.1.0084
Problem: User name completion does not work on MS-Windows.
Solution: Use NetUserEnum() to get user names. (Yasuhiro Matsumoto)
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r-- | src/Make_mvc.mak | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index 5ca5380877..8cb443c7c5 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -489,10 +489,11 @@ NETBEANS_LIB = WSock32.lib # need advapi32.lib for GetUserName() # need shell32.lib for ExtractIcon() +# need netapi32.lib for NetUserEnum() # gdi32.lib and comdlg32.lib for printing support # ole32.lib and uuid.lib are needed for FEAT_SHORTCUT CON_LIB = oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib \ - comdlg32.lib ole32.lib uuid.lib /machine:$(CPU) + comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:$(CPU) !if "$(DELAYLOAD)" == "yes" CON_LIB = $(CON_LIB) /DELAYLOAD:comdlg32.dll /DELAYLOAD:ole32.dll DelayImp.lib !endif @@ -801,7 +802,7 @@ GUI_OBJ = \ $(OUTDIR)\os_w32exe.obj GUI_LIB = \ gdi32.lib version.lib $(IME_LIB) \ - winspool.lib comctl32.lib advapi32.lib shell32.lib \ + winspool.lib comctl32.lib advapi32.lib shell32.lib netapi32.lib \ /machine:$(CPU) !else SUBSYSTEM = console |