Index: ui/surface/surface_export.h |
diff --git a/ui/surface/surface_export.h b/ui/surface/surface_export.h |
index 1b2164e69bebe4a2644432a97ab2c247b1c72c75..0a016704acfacf2e35ea501cfad75190012af062 100644 |
--- a/ui/surface/surface_export.h |
+++ b/ui/surface/surface_export.h |
@@ -16,7 +16,11 @@ |
#endif // defined(SURFACE_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(SURFACE_IMPLEMENTATION) |
#define SURFACE_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define SURFACE_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |