summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tmwa/shared.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tmwa/shared.hpp b/include/tmwa/shared.hpp
index c624e54..95174ab 100644
--- a/include/tmwa/shared.hpp
+++ b/include/tmwa/shared.hpp
@@ -21,8 +21,10 @@
#include <cstdbool>
+// TODO also make sure any exception classes are public
+#pragma GCC visibility push(default)
namespace tmwa
{
- __attribute__((visibility("default")))
void check_paths();
} // namespace tmwa
+#pragma GCC visibility pop