]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/entity/plugin.cpp
rebuilt gtk binary dependencies file
[xonotic/netradiant.git] / plugins / entity / plugin.cpp
index c5a0625d8513f0f2ab3341f090cf5f3329d556a1..ede5b91cfbdb721677dc19f680f8d11311d0b1b9 100644 (file)
@@ -56,8 +56,13 @@ public:
 CSynapseServer* g_pSynapseServer = NULL;
 CSynapseClientEntity 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);