]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/vfspak/vfspak.cpp
some updates to the Linux build system - obtained a core binary and all required...
[xonotic/netradiant.git] / plugins / vfspak / vfspak.cpp
index ac5ada37c65f40c99d239dd2ed4bc7ad273acf11..ab32ee97909e77c478bb23944e43fd780c1daba4 100644 (file)
@@ -46,8 +46,13 @@ _QERFuncTable_1 g_FuncTable;
 CSynapseServer* g_pSynapseServer = NULL;\r
 CSynapseClientVFS 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