summaryrefslogtreecommitdiffstats
path: root/chromeos/chromeos_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/chromeos_export.h')
-rw-r--r--chromeos/chromeos_export.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/chromeos_export.h b/chromeos/chromeos_export.h
index 7be813f..b4dc8d6 100644
--- a/chromeos/chromeos_export.h
+++ b/chromeos/chromeos_export.h
@@ -16,7 +16,11 @@
#endif // defined(CHROMEOS_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(CHROMEOS_IMPLEMENTATION)
#define CHROMEOS_EXPORT __attribute__((visibility("default")))
+#else
+#define CHROMEOS_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)