$OpenBSD: patch-src_platform_h,v 1.1 2012/12/05 01:07:45 abieber Exp $
--- src/platform.h.orig	Tue Dec  4 18:02:18 2012
+++ src/platform.h	Tue Dec  4 18:03:08 2012
@@ -89,7 +89,11 @@ namespace internal {
 
 // Use AtomicWord for a machine-sized pointer. It is assumed that
 // reads and writes of naturally aligned values of this type are atomic.
+#if defined(__OpenBSD__) && defined(__i386__)
+typedef Atomic32 AtomicWord;
+#else
 typedef intptr_t AtomicWord;
+#endif
 
 class Semaphore;
 class Mutex;
