16 lines
540 B
Plaintext
16 lines
540 B
Plaintext
$OpenBSD: patch-base_atomicops_h,v 1.12 2013/04/10 18:46:43 robert Exp $
|
|
--- base/atomicops.h.orig.port Sat Apr 6 09:14:07 2013
|
|
+++ base/atomicops.h Wed Apr 10 18:40:21 2013
|
|
@@ -58,7 +58,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(OS_OPENBSD) && defined(__i386__)
|
|
+//typedef Atomic32 AtomicWord;
|
|
+//#else
|
|
typedef intptr_t AtomicWord;
|
|
+//#endif
|
|
|
|
// Atomically execute:
|
|
// result = *ptr;
|