Index: src/platform.h |
diff --git a/src/platform.h b/src/platform.h |
index a32fbbc028a75c2061b18c1cc5298130e5519ccd..f50e7130be699682b21a445b8fee6e954d2fae88 100644 |
--- a/src/platform.h |
+++ b/src/platform.h |
@@ -107,7 +107,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; |