Skip to content

Commit

Permalink
PATCH: v8config.h & macros.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Sep 29, 2023
1 parent 251fe37 commit 4305f25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/v8config.h
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ path. Add it with -I<path> 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
Expand Down
4 changes: 2 additions & 2 deletions src/base/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4305f25

Please sign in to comment.