Explorar o código

* arm-android: Use kuser_cmpxchg for Interlocked* functions when RTL is compiled for the ARMv5t CPU.

git-svn-id: trunk@32072 -
yury %!s(int64=10) %!d(string=hai) anos
pai
achega
0d9d730efe
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      rtl/arm/armdefines.inc

+ 4 - 2
rtl/arm/armdefines.inc

@@ -14,6 +14,8 @@
 
  **********************************************************************}
 
-{$if defined(LINUX) and (defined(CPUARMEL) or defined(CPUARMHF))}
-{$define SYSTEM_HAS_KUSER_CMPXCHG} // system has kuser_cmpxchg method
+{$if defined(LINUX) or defined(ANDROID)}
+  {$if defined(CPUARMEL) or defined(CPUARMHF)}
+    {$define SYSTEM_HAS_KUSER_CMPXCHG} // system has kuser_cmpxchg method
+  {$endif}
 {$endif}