ref: add EXPORT to GetRefAPI, so MSVC will create *.lib file and not confuse waf or dynamic linker

This commit is contained in:
Alibek Omarov 2019-03-20 02:42:44 +03:00
parent 52eb84d34b
commit 402a596415

View File

@ -539,7 +539,7 @@ ref_interface_t gReffuncs =
VGUI_GenerateTexture,
};
int GAME_EXPORT GetRefAPI( int version, ref_interface_t *funcs, ref_api_t *engfuncs, ref_globals_t *globals )
int EXPORT GetRefAPI( int version, ref_interface_t *funcs, ref_api_t *engfuncs, ref_globals_t *globals )
{
if( version != REF_API_VERSION )
return 0;