MSVC: fix warnings and build failure

This commit is contained in:
wmayer
2023-09-23 19:03:53 +02:00
committed by wwmayer
parent 28ae0831cb
commit 1cdff85086
6 changed files with 30 additions and 13 deletions

View File

@@ -29,6 +29,7 @@
# include <pwd.h>
# include <sys/types.h>
# elif defined(__MINGW32__)
# undef WINVER
# define WINVER 0x502 // needed for SetDllDirectory
# include <Windows.h>
# endif