#ifndef V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
#define V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
#if defined(_WIN32)
#ifdef BUILDING_V8_PLATFORM_SHARED
#define V8_PLATFORM_EXPORT __declspec(dllexport)
#elif USING_V8_PLATFORM_SHARED
#define V8_PLATFORM_EXPORT __declspec(dllimport)
#else
#define V8_PLATFORM_EXPORT
#define JSVM_PLATFORM_EXPORT
#endif
#else
#if (defined(BUILDING_V8_PLATFORM_SHARED) || USING_V8_PLATFORM_SHARED) && !defined(OHOS_JS_ENGINE)
#define V8_PLATFORM_EXPORT __attribute__((visibility("default")))
#define JSVM_PLATFORM_EXPORT
#else
#define V8_PLATFORM_EXPORT
#define JSVM_PLATFORM_EXPORT __attribute__((visibility("default")))
#endif
#endif
#endif