Skip to content

Commit 382bd9d

Browse files
committed
v8: back-port openbsd/amd64 build fix
Cherry-pick https://codereview.chromium.org/856553002 from upstream. Makes V8 on OpenBSD/amd64 pick up the right V8_INT64_C and V8_UINT64_C macros. PR-URL: #1318 Refs: #1312 Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
1 parent 634e962 commit 382bd9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/v8/src/base/macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ inline void USE(T) { }
333333
# define V8_INTPTR_C(x) (x ## LL)
334334
# define V8_PTR_PREFIX "I64"
335335
#elif V8_HOST_ARCH_64_BIT
336-
# if V8_OS_MACOSX
336+
# if V8_OS_MACOSX || V8_OS_OPENBSD
337337
# define V8_UINT64_C(x) (x ## ULL)
338338
# define V8_INT64_C(x) (x ## LL)
339339
# else

0 commit comments

Comments
 (0)