Fix NDS RTL compilation for default armv4 CPU, which does not have CLZ instruction

git-svn-id: trunk@47027 -
This commit is contained in:
pierre 2020-10-01 08:41:03 +00:00
parent 1e4dc56155
commit 7e0c21fa5f

View File

@ -26,7 +26,10 @@ interface
{$define FPC_HAS_FEATURE_THREADING}
{$define CPUARM_HAS_UMULL}
{$define CPUARM_HAS_CLZ}
{$ifdef FPC_HAS_INTERNAL_BSR}
{$define CPUARM_HAS_CLZ}
{$endif def FPC_HAS_INTERNAL_BSR}
{$i systemh.inc}
{$i ndsbiosh.inc}