]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/vfspak/vfspak.cpp
propagate from internal tree
[xonotic/netradiant.git] / plugins / vfspak / vfspak.cpp
index 832f062432773a426d88cf33c5460315091bc51c..e97280ac06f2e7dc9abe7db9fe3b4f15c02c561d 100644 (file)
@@ -46,8 +46,13 @@ _QERFuncTable_1 g_FuncTable;
 CSynapseServer* g_pSynapseServer = NULL;
 CSynapseClientVFS g_SynapseClient;
 
-extern "C" CSynapseClient* SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces (const char *version, CSynapseServer *pServer)
-{
+#if __GNUC__ >= 4
+#pragma GCC visibility push(default)
+#endif
+extern "C" CSynapseClient* SYNAPSE_DLL_EXPORT Synapse_EnumerateInterfaces( const char *version, CSynapseServer *pServer ) {
+#if __GNUC__ >= 4
+#pragma GCC visibility pop
+#endif
   if (strcmp(version, SYNAPSE_VERSION))
   {
     Syn_Printf("ERROR: synapse API version mismatch: should be '" SYNAPSE_VERSION "', got '%s'\n", version);
@@ -97,5 +102,3 @@ const char* CSynapseClientVFS::GetName()
 {
   return "VFS";
 }
-
-