aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-base_atomicops.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-base_atomicops.h')
-rw-r--r--devel/electron29/files/patch-base_atomicops.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-base_atomicops.h b/devel/electron29/files/patch-base_atomicops.h
new file mode 100644
index 000000000000..7c186aff0e5b
--- /dev/null
+++ b/devel/electron29/files/patch-base_atomicops.h
@@ -0,0 +1,14 @@
+--- base/atomicops.h.orig 2023-03-30 00:33:38 UTC
++++ base/atomicops.h
+@@ -71,7 +71,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;