$OpenBSD: patch-base_atomicops_h,v 1.4 2011/06/10 07:41:24 robert Exp $
--- base/atomicops.h.orig	Mon Jun  6 11:11:47 2011
+++ base/atomicops.h	Thu Jun  9 13:03:29 2011
@@ -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;
@@ -147,7 +151,7 @@ Atomic64 Release_Load(volatile const Atomic64* ptr);
 
 // On some platforms we need additional declarations to make
 // AtomicWord compatible with our other Atomic* types.
-#if defined(OS_MACOSX) || defined(OS_OPENBSD)
+#if defined(OS_MACOSX)
 #include "base/atomicops_internals_atomicword_compat.h"
 #endif
 
