]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/textool/TexTool.cpp
set eol-style
[xonotic/netradiant.git] / plugins / textool / TexTool.cpp
index 01d88901fc6645a6b3a140a688e3451aada9e344..ee4a7ea3d925b2d46ddf547e92dffd2e0f19509f 100644 (file)
@@ -919,8 +919,13 @@ extern "C" void QERPlug_Dispatch(const char* p, vec3_t vMin, vec3_t vMax, bool b
 CSynapseServer* g_pSynapseServer = NULL;\r
 CSynapseClientTexTool 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