Index: base/atomicops.h |
diff --git a/base/atomicops.h b/base/atomicops.h |
index a88fdff93541fe99065fbe9ba47f389bd2626f21..058fc814db7692439ea4f871d8f27d73425e2961 100644 |
--- a/base/atomicops.h |
+++ b/base/atomicops.h |
@@ -130,8 +130,10 @@ Atomic64 Release_Load(volatile const Atomic64* ptr); |
// Include our platform specific implementation. |
#if defined(OS_WIN) && defined(COMPILER_MSVC) && defined(ARCH_CPU_X86_FAMILY) |
#include "base/atomicops_internals_x86_msvc.h" |
-#elif defined(OS_MACOSX) && defined(ARCH_CPU_X86_FAMILY) |
-#include "base/atomicops_internals_x86_macosx.h" |
+#elif defined(OS_MACOSX) |
+// Even though iOS on devices is ARM, the x86 impl uses the Mac OS X calls |
+// so it is arch independent (And PPC isn't supported for desktop builds). |
stuartmorgan
2012/07/12 12:39:58
Remove this whole comment; it no longer applies.
leng
2012/07/12 12:51:37
Done.
|
+#include "base/atomicops_internals_mac.h" |
#elif defined(COMPILER_GCC) && defined(ARCH_CPU_X86_FAMILY) |
#include "base/atomicops_internals_x86_gcc.h" |
#elif defined(COMPILER_GCC) && defined(ARCH_CPU_ARM_FAMILY) |