diff options
Diffstat (limited to 'deps/node/deps/v8/include/v8.h')
-rw-r--r-- | deps/node/deps/v8/include/v8.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/deps/node/deps/v8/include/v8.h b/deps/node/deps/v8/include/v8.h index 325d3b09..ddedb141 100644 --- a/deps/node/deps/v8/include/v8.h +++ b/deps/node/deps/v8/include/v8.h @@ -25,39 +25,6 @@ #include "v8-version.h" // NOLINT(build/include) #include "v8config.h" // NOLINT(build/include) -// We reserve the V8_* prefix for macros defined in V8 public API and -// assume there are no name conflicts with the embedder's code. - -#ifdef V8_OS_WIN - -// Setup for Windows DLL export/import. When building the V8 DLL the -// BUILDING_V8_SHARED needs to be defined. When building a program which uses -// the V8 DLL USING_V8_SHARED needs to be defined. When either building the V8 -// static library or building a program which uses the V8 static library neither -// BUILDING_V8_SHARED nor USING_V8_SHARED should be defined. -#ifdef BUILDING_V8_SHARED -# define V8_EXPORT __declspec(dllexport) -#elif USING_V8_SHARED -# define V8_EXPORT __declspec(dllimport) -#else -# define V8_EXPORT -#endif // BUILDING_V8_SHARED - -#else // V8_OS_WIN - -// Setup for Linux shared library export. -#if V8_HAS_ATTRIBUTE_VISIBILITY -# ifdef BUILDING_V8_SHARED -# define V8_EXPORT __attribute__ ((visibility("default"))) -# else -# define V8_EXPORT -# endif -#else -# define V8_EXPORT -#endif - -#endif // V8_OS_WIN - /** * The v8 JavaScript engine. */ |