SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
www/iridium/patches/patch-base_atomicops_h
Normal file
15
www/iridium/patches/patch-base_atomicops_h
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: base/atomicops.h
|
||||
--- base/atomicops.h.orig
|
||||
+++ base/atomicops.h
|
||||
@@ -71,7 +71,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;
|
Loading…
Add table
Add a link
Reference in a new issue