openbsd-ports/www/chromium/patches/patch-v8_src_atomicops_h
robert a52e8efd8d - update to 26.0.1410.43
- switch chromium to use clang/llvm instead of gcc
- switch back to the internal libvpx because it's an unreleased version
  at this point
- re-enable SSE2 support
2013-04-03 08:19:10 +00:00

17 lines
534 B
Plaintext

$OpenBSD: patch-v8_src_atomicops_h,v 1.3 2013/04/03 08:19:10 robert Exp $
--- v8/src/atomicops.h.orig.port Fri Mar 22 02:16:35 2013
+++ v8/src/atomicops.h Tue Apr 2 21:05:18 2013
@@ -54,7 +54,12 @@
namespace v8 {
namespace internal {
+#if defined(__OpenBSD__) && defined(__i386__)
+typedef long int Atomic32;
+#else
typedef int32_t Atomic32;
+#endif
+
#ifdef V8_HOST_ARCH_64_BIT
// We need to be able to go between Atomic64 and AtomicWord implicitly. This
// means Atomic64 and AtomicWord should be the same type on 64-bit.