5d73d74c96
from aaron bieber (MAINTAINER), with cluestick hitting by espie@ as discussed with and ok sthen@
16 lines
552 B
Plaintext
16 lines
552 B
Plaintext
$OpenBSD: patch-deps_v8_src_atomicops_h,v 1.1.1.1 2012/05/23 15:11:43 jasper Exp $
|
|
--- deps/v8/src/atomicops.h.orig Tue Nov 8 18:37:38 2011
|
|
+++ deps/v8/src/atomicops.h Tue Nov 8 18:38:53 2011
|
|
@@ -69,7 +69,11 @@ typedef intptr_t Atomic64;
|
|
|
|
// Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
|
|
// Atomic64 routines below, depending on your architecture.
|
|
+#if defined(__OpenBSD__) && defined(__i386__)
|
|
+typedef Atomic32 AtomicWord;
|
|
+#else
|
|
typedef intptr_t AtomicWord;
|
|
+#endif
|
|
|
|
// Atomically execute:
|
|
// result = *ptr;
|