]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/imagewal/imagewal.cpp
some updates to the Linux build system - obtained a core binary and all required...
[xonotic/netradiant.git] / plugins / imagewal / imagewal.cpp
index 9468e76eefdf8641804d5dc9d8cfe6a4f241e319..af592f1ed2bfa8bc05411d7f85261f707e8b74d4 100644 (file)
@@ -39,8 +39,13 @@ static const XMLConfigEntry_t entries[] =
     { VFS_MAJOR, SYN_REQUIRE, sizeof(_QERFileSystemTable), &g_FileSystemTable },\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