]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/mapxml/plugin.cpp
some updates to the Linux build system - obtained a core binary and all required...
[xonotic/netradiant.git] / plugins / mapxml / plugin.cpp
index 30745a93806c129ec46593ca800317c4704c9621..205649c2468ac0fe3dd3f48bc8f93e0273193e4f 100644 (file)
@@ -21,8 +21,13 @@ static const XMLConfigEntry_t entries[] =
     { SHADERS_MAJOR, SYN_REQUIRE, sizeof(g_ShadersTable), &g_ShadersTable },    \r
     { NULL, SYN_UNKNOWN, 0, NULL } };\r
   \r
-extern "C" CSynapseClient* SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces (const char *version, CSynapseServer *pServer)\r
-{\r
+#if __GNUC__ >= 4\r
+#pragma GCC visibility push(default)\r
+#endif\r
+extern "C" CSynapseClient* SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces( const char *version, CSynapseServer *pServer ) {\r
+#if __GNUC__ >= 4\r
+#pragma GCC visibility pop\r
+#endif\r
   if (strcmp(version, SYNAPSE_VERSION))\r
   {\r
     Syn_Printf("ERROR: synapse API version mismatch: should be '" SYNAPSE_VERSION "', got '%s'\n", version);\r