Skip to content

Commit 4305f25

Browse files
committed
PATCH: v8config.h & macros.h
1 parent 251fe37 commit 4305f25

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/v8config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ path. Add it with -I<path> to the command line
478478

479479
#if V8_HAS_BUILTIN_ASSUME_ALIGNED
480480
# define V8_ASSUME_ALIGNED(ptr, alignment) \
481-
__builtin_assume_aligned((ptr), (alignment))
481+
(ptr)
482482
#else
483483
# define V8_ASSUME_ALIGNED(ptr, alignment) (ptr)
484484
#endif

src/base/macros.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,9 @@ bool is_inbounds(float_t v) {
388388

389389
// Setup for Windows shared library export.
390390
#ifdef BUILDING_V8_SHARED
391-
#define V8_EXPORT_PRIVATE __declspec(dllexport)
391+
#define V8_EXPORT_PRIVATE //__declspec(dllexport)
392392
#elif USING_V8_SHARED
393-
#define V8_EXPORT_PRIVATE __declspec(dllimport)
393+
#define V8_EXPORT_PRIVATE //__declspec(dllimport)
394394
#else
395395
#define V8_EXPORT_PRIVATE
396396
#endif // BUILDING_V8_SHARED

0 commit comments

Comments
 (0)