diff options
Diffstat (limited to 'base/i18n/base_i18n_export.h')
-rw-r--r-- | base/i18n/base_i18n_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/i18n/base_i18n_export.h b/base/i18n/base_i18n_export.h index 143f75f..f21b55b 100644 --- a/base/i18n/base_i18n_export.h +++ b/base/i18n/base_i18n_export.h @@ -16,7 +16,11 @@ #endif // defined(BASE_I18N_IMPLEMENTATION) #else // defined(WIN32) +#if defined(BASE_I18N_IMPLEMENTATION) #define BASE_I18N_EXPORT __attribute__((visibility("default"))) +#else +#define BASE_I18N_EXPORT +#endif #endif #else // defined(COMPONENT_BUILD) |