diff options
Diffstat (limited to 'ppapi/thunk/ppapi_thunk_export.h')
-rw-r--r-- | ppapi/thunk/ppapi_thunk_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ppapi/thunk/ppapi_thunk_export.h b/ppapi/thunk/ppapi_thunk_export.h index cbecccd..de3d38d 100644 --- a/ppapi/thunk/ppapi_thunk_export.h +++ b/ppapi/thunk/ppapi_thunk_export.h @@ -16,7 +16,11 @@ #endif // defined(PPAPI_THUNK_IMPLEMENTATION) #else // defined(WIN32) +#if defined(PPAPI_THUNK_IMPLEMENTATION) #define PPAPI_THUNK_EXPORT __attribute__((visibility("default"))) +#else +#define PPAPI_THUNK_EXPORT +#endif #endif #else // defined(COMPONENT_BUILD) |