]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/eclassfgd/plugin.cpp
some updates to the Linux build system - obtained a core binary and all required...
[xonotic/netradiant.git] / plugins / eclassfgd / plugin.cpp
index b5b1a50dd33e78ed45e978cf5eb5d0f5dcedc372..9b662f875fb0f9800c6a4b603a9340cda5f91e89 100644 (file)
@@ -135,8 +135,13 @@ const char* EClass_GetExtension()
 CSynapseServer* g_pSynapseServer = NULL;\r
 CSynapseClientFGD g_SynapseClient;\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