aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/osx/7 bitcode/vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/osx/7 bitcode/vis.h')
-rw-r--r--meson/test cases/osx/7 bitcode/vis.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/osx/7 bitcode/vis.h b/meson/test cases/osx/7 bitcode/vis.h
new file mode 100644
index 000000000..fa252b4ce
--- /dev/null
+++ b/meson/test cases/osx/7 bitcode/vis.h
@@ -0,0 +1,6 @@
+#if defined __GNUC__
+ #define EXPORT_PUBLIC __attribute__ ((visibility("default")))
+#else
+ #pragma message ("Compiler does not support symbol visibility.")
+ #define EXPORT_PUBLIC
+#endif