Index: ui/app_list/app_list_export.h |
diff --git a/ui/app_list/app_list_export.h b/ui/app_list/app_list_export.h |
index afb61aa736bb5c17da02510444291db98f4c3224..66021e9f4a7b5c4e068b65e7e5b0bcd8f304e64e 100644 |
--- a/ui/app_list/app_list_export.h |
+++ b/ui/app_list/app_list_export.h |
@@ -19,7 +19,11 @@ |
#endif // defined(APP_LIST_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(APP_LIST_IMPLEMENTATION) |
#define APP_LIST_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define APP_LIST_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |