]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/imagehl/imagehl.cpp
some updates to the Linux build system - obtained a core binary and all required...
[xonotic/netradiant.git] / plugins / imagehl / imagehl.cpp
index cee0f51821b27c3c5edf7da996d05fe65efb86b3..6c3fa72a9d9c92d902b0a429651b0d733ceea778 100644 (file)
@@ -50,8 +50,13 @@ _QERFileSystemTable g_FileSystemTable;
 CSynapseServer* g_pSynapseServer = NULL;\r
 CSynapseClientImageHL g_SynapseClient;\r
 \r
 CSynapseServer* g_pSynapseServer = NULL;\r
 CSynapseClientImageHL 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
   if (strcmp(version, SYNAPSE_VERSION))\r
   {\r
     Syn_Printf("ERROR: synapse API version mismatch: should be '" SYNAPSE_VERSION "', got '%s'\n", version);\r