$OpenBSD: patch-mozilla_ipc_chromium_src_base_atomicops_h,v 1.1 2011/07/24 07:31:57 landry Exp $
--- mozilla/ipc/chromium/src/base/atomicops.h.orig	Mon Jun 27 05:10:41 2011
+++ mozilla/ipc/chromium/src/base/atomicops.h	Sun Jul  3 02:14:43 2011
@@ -45,7 +45,11 @@ typedef int64 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(ARCH_CPU_64_BITS)
+typedef Atomic32 AtomicWord;
+#else
 typedef intptr_t AtomicWord;
+#endif
 
 // Atomically execute:
 //      result = *ptr;
