X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=plugins%2Fimagewal%2Fimagewal.cpp;h=af592f1ed2bfa8bc05411d7f85261f707e8b74d4;hp=9468e76eefdf8641804d5dc9d8cfe6a4f241e319;hb=4189d27b34641ad3325d724f6cac012fa742b2ad;hpb=ff588a439f6496396c41d6bb4028e61bdfed38c7;ds=sidebyside diff --git a/plugins/imagewal/imagewal.cpp b/plugins/imagewal/imagewal.cpp index 9468e76e..af592f1e 100644 --- a/plugins/imagewal/imagewal.cpp +++ b/plugins/imagewal/imagewal.cpp @@ -39,8 +39,13 @@ static const XMLConfigEntry_t entries[] = { VFS_MAJOR, SYN_REQUIRE, sizeof(_QERFileSystemTable), &g_FileSystemTable }, { NULL, SYN_UNKNOWN, 0, NULL } }; -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);