]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/surface/surfdlg_plugin.cpp
rebuilt gtk binary dependencies file
[xonotic/netradiant.git] / plugins / surface / surfdlg_plugin.cpp
index caec6612055fc04d0003b7e1262837fdd34d8deb..022f34d24860a4746b0c5e015194f5e65f725fac 100644 (file)
@@ -61,8 +61,13 @@ _QERAppDataTable g_AppDataTable;
 CSynapseServer* g_pSynapseServer = NULL;
 CSynapseClient_SurfDLG 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);