game_launch: fix win32 build

This commit is contained in:
Alibek Omarov 2022-06-13 04:21:57 +03:00
parent e44718d531
commit 7a88379917
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ GNU General Public License for more details.
#define GetProcAddress( x, y ) dlsym( x, y ) #define GetProcAddress( x, y ) dlsym( x, y )
#define FreeLibrary( x ) dlclose( x ) #define FreeLibrary( x ) dlclose( x )
#elif XASH_WIN32 #elif XASH_WIN32
#include <shellapi.h> // CommandLineToArgvW
#define XASHLIB "xash.dll" #define XASHLIB "xash.dll"
#define SDL2LIB "SDL2.dll" #define SDL2LIB "SDL2.dll"
#define dlerror() GetStringLastError() #define dlerror() GetStringLastError()