summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/global-settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/global-settings.cpp')
-rw-r--r--facetracknoir/global-settings.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/facetracknoir/global-settings.cpp b/facetracknoir/global-settings.cpp
index b198f327..42646742 100644
--- a/facetracknoir/global-settings.cpp
+++ b/facetracknoir/global-settings.cpp
@@ -4,6 +4,12 @@
# include <dlfcn.h>
#endif
+#ifdef IN_OPENTRACK_API
+# ifdef __GNUC__
+# pragma GCC visibility push(protected)
+# endif
+#endif
+
SelectedLibraries* Libraries = NULL;
SelectedLibraries::~SelectedLibraries()
@@ -128,3 +134,9 @@ DynamicLibrary::~DynamicLibrary()
(void) dlclose(handle);
#endif
}
+
+#ifdef IN_OPENTRACK_API
+# ifdef __GNUC__
+# pragma GCC visibility pop
+# endif
+#endif