utils: xar: fix build

This commit is contained in:
Alibek Omarov
2025-11-18 13:18:03 +05:00
parent 45cff25bbc
commit 26df99ae41

View File

@@ -26,6 +26,7 @@ GNU General Public License for more details.
#define LoadLibrary( x ) dlopen( x, RTLD_NOW ) #define LoadLibrary( x ) dlopen( x, RTLD_NOW )
#define GetProcAddress( x, y ) dlsym( x, y ) #define GetProcAddress( x, y ) dlsym( x, y )
#define FreeLibrary( x ) dlclose( x ) #define FreeLibrary( x ) dlclose( x )
#define _mkdir( x ) mkdir(( x ), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH )
#elif XASH_WIN32 #elif XASH_WIN32
#include <windows.h> #include <windows.h>
#include <direct.h> #include <direct.h>