From 402a5964155f9631472b1de9817e83b140598ebd Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 20 Mar 2019 02:42:44 +0300 Subject: [PATCH] ref: add EXPORT to GetRefAPI, so MSVC will create *.lib file and not confuse waf or dynamic linker --- ref_gl/gl_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref_gl/gl_context.c b/ref_gl/gl_context.c index ee00a1c7..893854de 100644 --- a/ref_gl/gl_context.c +++ b/ref_gl/gl_context.c @@ -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;