patch-src_platform_h 503 B

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