]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/camera/camera.cpp
some updates to the Linux build system - obtained a core binary and all required...
[xonotic/netradiant.git] / contrib / camera / camera.cpp
index 9ac94f44e377a86f99d034e3ae57f0f309adbbb4..bd38dabccd26e86618c811ede36aecc962f6c8fb 100644 (file)
@@ -184,8 +184,13 @@ public:
 CSynapseServer* g_pSynapseServer = NULL;\r
 CameraSynapseClient g_SynapseClient;\r
 \r
 CSynapseServer* g_pSynapseServer = NULL;\r
 CameraSynapseClient 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