diff options
Diffstat (limited to 'ppapi/shared_impl/ppapi_shared_export.h')
-rw-r--r-- | ppapi/shared_impl/ppapi_shared_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ppapi/shared_impl/ppapi_shared_export.h b/ppapi/shared_impl/ppapi_shared_export.h index fb3c036..b33ae49 100644 --- a/ppapi/shared_impl/ppapi_shared_export.h +++ b/ppapi/shared_impl/ppapi_shared_export.h @@ -16,7 +16,11 @@ #endif // defined(PPAPI_SHARED_IMPLEMENTATION) #else // defined(WIN32) +#if defined(PPAPI_SHARED_IMPLEMENTATION) #define PPAPI_SHARED_EXPORT __attribute__((visibility("default"))) +#else +#define PPAPI_SHARED_EXPORT +#endif #endif #else // defined(COMPONENT_BUILD) |