]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/shaders/plugin.cpp
some updates to the Linux build system - obtained a core binary and all required...
[xonotic/netradiant.git] / plugins / shaders / plugin.cpp
index 70af41bd5dfae8a1d78a286f9c3dad3e02b5ee4e..a0339ea1e5f25b6ec1579df60d6fe80add8f1aef 100644 (file)
@@ -60,8 +60,13 @@ static const XMLConfigEntry_t entries[] =
     { VFS_MAJOR, SYN_REQUIRE, sizeof(g_VFSTable), &g_VFSTable },\r
     { NULL, SYN_UNKNOWN, 0, NULL } };\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