diff --git a/filesystem/tests/interface.cpp b/filesystem/tests/interface.cpp index d215bbbb..889c59a2 100644 --- a/filesystem/tests/interface.cpp +++ b/filesystem/tests/interface.cpp @@ -11,11 +11,12 @@ #define LoadLibrary( x ) dlopen( x, RTLD_NOW ) #define GetProcAddress( x, y ) dlsym( x, y ) #define FreeLibrary( x ) dlclose( x ) +typedef void *HMODULE; #elif XASH_WIN32 #include #endif -void *g_hModule; +HMODULE g_hModule; FSAPI g_pfnGetFSAPI; typedef void *(*pfnCreateInterface_t)( const char *, int * ); pfnCreateInterface_t g_pfnCreateInterface;