fix defines for openbsd - build fails without them:
authordeftly <deftly@gmail.com>
Fri, 16 Jan 2015 05:07:10 +0000 (21:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 16 Jan 2015 05:07:24 +0000 (05:07 +0000)
Original version from robert@openbsd.org with modification from myself

BUG=

Review URL: https://codereview.chromium.org/856553002

Cr-Commit-Position: refs/heads/master@{#26089}

src/base/macros.h

index 371d7da6eaa72251a9693096f64a79def1b8fa49..8742519a6139b7746b6c5e8fff94ccc072513c92 100644 (file)
@@ -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