summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/webkit_glue_export.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webkit_glue_export.h b/webkit/glue/webkit_glue_export.h
index 337a20c..6b9cbbb 100644
--- a/webkit/glue/webkit_glue_export.h
+++ b/webkit/glue/webkit_glue_export.h
@@ -16,7 +16,11 @@
#endif // defined(WEBKIT_GLUE_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(WEBKIT_GLUE_IMPLEMENTATION)
#define WEBKIT_GLUE_EXPORT __attribute__((visibility("default")))
+#else
+#define WEBKIT_GLUE_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)