summaryrefslogtreecommitdiffhomepage
path: root/src/internal/slibtool_visibility_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/slibtool_visibility_impl.h')
-rw-r--r--src/internal/slibtool_visibility_impl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/internal/slibtool_visibility_impl.h b/src/internal/slibtool_visibility_impl.h
new file mode 100644
index 0000000..7b1e50f
--- /dev/null
+++ b/src/internal/slibtool_visibility_impl.h
@@ -0,0 +1,10 @@
+#ifndef SLIBTOOL_VISIBILITY_IMPL_H
+#define SLIBTOOL_VISIBILITY_IMPL_H
+
+#ifdef _ATTR_VISIBILITY_HIDDEN
+#define slbt_hidden _ATTR_VISIBILITY_HIDDEN
+#else
+#define slbt_hidden
+#endif
+
+#endif