From 382bd9d2e0173569e551be4fc2702696190f5c1a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 1 Apr 2015 22:26:45 +0200 Subject: [PATCH] v8: back-port openbsd/amd64 build fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: https://github.com/iojs/io.js/pull/1318 Refs: https://github.com/iojs/io.js/pull/1312 Reviewed-By: Fedor Indutny Reviewed-By: Johan Bergström --- deps/v8/src/base/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/v8/src/base/macros.h b/deps/v8/src/base/macros.h index 371d7da6ea..8742519a61 100644 --- a/deps/v8/src/base/macros.h +++ b/deps/v8/src/base/macros.h @@ -333,7 +333,7 @@ inline void USE(T) { } # define V8_INTPTR_C(x) (x ## LL) # define V8_PTR_PREFIX "I64" #elif V8_HOST_ARCH_64_BIT -# if V8_OS_MACOSX +# if V8_OS_MACOSX || V8_OS_OPENBSD # define V8_UINT64_C(x) (x ## ULL) # define V8_INT64_C(x) (x ## LL) # else