summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tmwa/shared.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/tmwa/shared.hpp b/include/tmwa/shared.hpp
index 95174ab..8b6bfbc 100644
--- a/include/tmwa/shared.hpp
+++ b/include/tmwa/shared.hpp
@@ -22,9 +22,13 @@
// TODO also make sure any exception classes are public
-#pragma GCC visibility push(default)
+#ifndef __clang__
+# pragma GCC visibility push(default)
+#endif
namespace tmwa
{
void check_paths();
} // namespace tmwa
-#pragma GCC visibility pop
+#ifndef __clang__
+# pragma GCC visibility pop
+#endif