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

git-svn-id: trunk@32072 -
This commit is contained in:
yury 2015-10-17 14:38:17 +00:00
parent 57204b2404
commit 0d9d730efe

View File

@ -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}