diff options
Diffstat (limited to 'media/base/media_export.h')
-rw-r--r-- | media/base/media_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/base/media_export.h b/media/base/media_export.h index 2fc174d..b3e47d5 100644 --- a/media/base/media_export.h +++ b/media/base/media_export.h @@ -19,7 +19,11 @@ #endif // defined(MEDIA_IMPLEMENTATION) #else // defined(WIN32) +#if defined(MEDIA_IMPLEMENTATION) #define MEDIA_EXPORT __attribute__((visibility("default"))) +#else +#define MEDIA_EXPORT +#endif #endif #else // defined(COMPONENT_BUILD) |