pkgsrc-wip/chromium/patches/patch-base_atomicops.h
Rui-Xiang Guo fa06d0f9e3 Update chromium to 10.0.648.205 that is based on the OpenBSD's ports with
modifying for *BSD support and additional NetBSD specific patches.
This version includes some security bug fixes.
2011-04-28 03:09:01 +00:00

16 lines
509 B
C

$NetBSD: patch-base_atomicops.h,v 1.1 2011/04/28 03:09:02 rxg Exp $
--- base/atomicops.h.orig 2011-04-13 08:01:34.000000000 +0000
+++ base/atomicops.h
@@ -54,7 +54,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;