X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=plugins%2Fimagehl%2Fimagehl.cpp;h=6c3fa72a9d9c92d902b0a429651b0d733ceea778;hp=cee0f51821b27c3c5edf7da996d05fe65efb86b3;hb=4189d27b34641ad3325d724f6cac012fa742b2ad;hpb=ff588a439f6496396c41d6bb4028e61bdfed38c7 diff --git a/plugins/imagehl/imagehl.cpp b/plugins/imagehl/imagehl.cpp index cee0f518..6c3fa72a 100644 --- a/plugins/imagehl/imagehl.cpp +++ b/plugins/imagehl/imagehl.cpp @@ -50,8 +50,13 @@ _QERFileSystemTable g_FileSystemTable; CSynapseServer* g_pSynapseServer = NULL; CSynapseClientImageHL 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);