Browse Source

game_launch: fix win32 build

pull/2/head
Alibek Omarov 2 years ago
parent
commit
7a88379917
  1. 1
      game_launch/game.cpp

1
game_launch/game.cpp

@ -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()

Loading…
Cancel
Save