blob: b34c7e088927126c1cadd2a7c5a36e96e58baa34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- base/atomicops.h.orig 2025-09-10 13:22:16 UTC
+++ base/atomicops.h
@@ -72,7 +72,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;
|