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