Chromium Code Reviews| Index: base/atomicops.h |
| =================================================================== |
| --- base/atomicops.h (revision 180269) |
| +++ base/atomicops.h (working copy) |
| @@ -47,7 +47,7 @@ |
| #ifdef ARCH_CPU_64_BITS |
| // We need to be able to go between Atomic64 and AtomicWord implicitly. This |
| // means Atomic64 and AtomicWord should be the same type on 64-bit. |
| -#if defined(OS_NACL) |
| +#if defined(OS_NACL) || defined(__ILP32__) |
|
brettw
2013/02/06 19:10:39
Can you put the ILP check before the nacl one? I t
|
| // NaCl's intptr_t is not actually 64-bits on 64-bit! |
| // http://code.google.com/p/nativeclient/issues/detail?id=1162 |
| typedef int64_t Atomic64; |