mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-19 11:30:34 +00:00
filesystem: tests: interface: use correct type for module on Win32
This commit is contained in:
parent
c52dc69360
commit
558ded6d6a
@ -11,11 +11,12 @@
|
|||||||
#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 )
|
||||||
|
typedef void *HMODULE;
|
||||||
#elif XASH_WIN32
|
#elif XASH_WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void *g_hModule;
|
HMODULE g_hModule;
|
||||||
FSAPI g_pfnGetFSAPI;
|
FSAPI g_pfnGetFSAPI;
|
||||||
typedef void *(*pfnCreateInterface_t)( const char *, int * );
|
typedef void *(*pfnCreateInterface_t)( const char *, int * );
|
||||||
pfnCreateInterface_t g_pfnCreateInterface;
|
pfnCreateInterface_t g_pfnCreateInterface;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user