X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=plugins%2Fmapxml%2Fplugin.cpp;h=205649c2468ac0fe3dd3f48bc8f93e0273193e4f;hp=30745a93806c129ec46593ca800317c4704c9621;hb=4189d27b34641ad3325d724f6cac012fa742b2ad;hpb=ff588a439f6496396c41d6bb4028e61bdfed38c7 diff --git a/plugins/mapxml/plugin.cpp b/plugins/mapxml/plugin.cpp index 30745a93..205649c2 100644 --- a/plugins/mapxml/plugin.cpp +++ b/plugins/mapxml/plugin.cpp @@ -21,8 +21,13 @@ static const XMLConfigEntry_t entries[] = { SHADERS_MAJOR, SYN_REQUIRE, sizeof(g_ShadersTable), &g_ShadersTable }, { 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);