1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

Fix linking on 64-bit Windows build.

This commit is contained in:
Scott Ehlert 2017-09-16 09:38:48 -05:00
parent bd48878986
commit 2c09b0f414

View File

@ -131,7 +131,7 @@ static ConVar *mm_basedir = NULL;
static CreateInterfaceFn engine_factory = NULL; static CreateInterfaceFn engine_factory = NULL;
static CreateInterfaceFn physics_factory = NULL; static CreateInterfaceFn physics_factory = NULL;
static CreateInterfaceFn filesystem_factory = NULL; static CreateInterfaceFn filesystem_factory = NULL;
#if !defined( __amd64__ ) #if !defined( _WIN64 ) && !defined( __amd64__ )
static CHookManagerAutoGen g_SH_HookManagerAutoGen(&g_SourceHook); static CHookManagerAutoGen g_SH_HookManagerAutoGen(&g_SourceHook);
#endif #endif
static META_RES last_meta_res; static META_RES last_meta_res;
@ -1004,7 +1004,7 @@ void *MetamodSource::MetaFactory(const char *iface, int *ret, PluginId *id)
} }
else if (strcmp(iface, MMIFACE_SH_HOOKMANAUTOGEN) == 0) else if (strcmp(iface, MMIFACE_SH_HOOKMANAUTOGEN) == 0)
{ {
#if defined( __amd64__ ) #if defined( _WIN64 ) || defined( __amd64__ )
if (ret) if (ret)
{ {
*ret = META_IFACE_FAILED; *ret = META_IFACE_FAILED;