File indexing completed on 2025-02-22 10:42:27
0001
0002
0003
0004
0005 #ifndef V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
0006 #define V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
0007
0008 #if defined(_WIN32)
0009
0010 #ifdef BUILDING_V8_PLATFORM_SHARED
0011 #define V8_PLATFORM_EXPORT __declspec(dllexport)
0012 #elif USING_V8_PLATFORM_SHARED
0013 #define V8_PLATFORM_EXPORT __declspec(dllimport)
0014 #else
0015 #define V8_PLATFORM_EXPORT
0016 #endif
0017
0018 #else
0019
0020
0021 #ifdef BUILDING_V8_PLATFORM_SHARED
0022 #define V8_PLATFORM_EXPORT __attribute__((visibility("default")))
0023 #else
0024 #define V8_PLATFORM_EXPORT
0025 #endif
0026
0027 #endif
0028
0029 #endif