X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=plugins%2Fvfswad%2Fvfswad.cpp;h=c54658fa5041cef3dbe258b503d297c5f4afe811;hp=95dbf875543b5806504bb892c71bf1ac89a11076;hb=4189d27b34641ad3325d724f6cac012fa742b2ad;hpb=ff588a439f6496396c41d6bb4028e61bdfed38c7 diff --git a/plugins/vfswad/vfswad.cpp b/plugins/vfswad/vfswad.cpp index 95dbf875..c54658fa 100644 --- a/plugins/vfswad/vfswad.cpp +++ b/plugins/vfswad/vfswad.cpp @@ -52,8 +52,13 @@ _QERFuncTable_1 g_FuncTable; CSynapseServer* g_pSynapseServer = NULL; CSynapseClientVFS g_SynapseClient; -extern "C" CSynapseClient* SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces (const char *version, CSynapseServer *pServer) -{ +#if __GNUC__ >= 4 +#pragma GCC visibility push(default) +#endif +extern "C" CSynapseClient* SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces( const char *version, CSynapseServer *pServer ) { +#if __GNUC__ >= 4 +#pragma GCC visibility pop +#endif if (strcmp(version, SYNAPSE_VERSION)) { Syn_Printf("ERROR: synapse API version mismatch: should be '" SYNAPSE_VERSION "', got '%s'\n", version);