ports/www/chromium/files/patch-base_atomicops.h
Robert Nagy 6dc209ad0a www/chromium: update to 102.0.5005.61
Security:	40e2c35e-db99-11ec-b0cf-3065ec8fd3ec
2022-05-24 21:51:52 +02:00

14 lines
429 B
C

--- base/atomicops.h.orig 2022-05-19 14:06:27 UTC
+++ base/atomicops.h
@@ -56,7 +56,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;