diff --git a/include/v8config.h b/include/v8config.h index 33bb3f943..e6053a152 100644 --- a/include/v8config.h +++ b/include/v8config.h @@ -478,7 +478,7 @@ path. Add it with -I to the command line #if V8_HAS_BUILTIN_ASSUME_ALIGNED # define V8_ASSUME_ALIGNED(ptr, alignment) \ - __builtin_assume_aligned((ptr), (alignment)) + (ptr) #else # define V8_ASSUME_ALIGNED(ptr, alignment) (ptr) #endif diff --git a/src/base/macros.h b/src/base/macros.h index 25a533c5a..8256050eb 100644 --- a/src/base/macros.h +++ b/src/base/macros.h @@ -388,9 +388,9 @@ bool is_inbounds(float_t v) { // Setup for Windows shared library export. #ifdef BUILDING_V8_SHARED -#define V8_EXPORT_PRIVATE __declspec(dllexport) +#define V8_EXPORT_PRIVATE //__declspec(dllexport) #elif USING_V8_SHARED -#define V8_EXPORT_PRIVATE __declspec(dllimport) +#define V8_EXPORT_PRIVATE //__declspec(dllimport) #else #define V8_EXPORT_PRIVATE #endif // BUILDING_V8_SHARED