summaryrefslogtreecommitdiffstats
path: root/ash/ash_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/ash_export.h')
-rw-r--r--ash/ash_export.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/ash_export.h b/ash/ash_export.h
index 3a3978f..b201ddb 100644
--- a/ash/ash_export.h
+++ b/ash/ash_export.h
@@ -19,7 +19,11 @@
#endif // defined(ASH_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(ASH_IMPLEMENTATION)
#define ASH_EXPORT __attribute__((visibility("default")))
+#else
+#define ASH_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)