mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:39:25 +02:00
Remove redundant CPU-Check for FPC_HAS_INTERNAL_ABS_LONG
compiler/options.pas only defines FPC_HAS_INTERNAL_ABS_LONG for cpus which support the intrinsic. No need to check again in the rtl. git-svn-id: trunk@21677 -
This commit is contained in:
parent
aeb15ba2b6
commit
3d9d484bfd
@ -644,7 +644,7 @@ Function Random: extended;
|
||||
Procedure Randomize;
|
||||
{$endif FPC_HAS_FEATURE_RANDOM}
|
||||
|
||||
{$ifdef FPC_HAS_INTERNAL_ABS_LONG and (defined(cpui386) or defined(cpux86_64) or defined(cpupowerpc))}
|
||||
{$ifdef FPC_HAS_INTERNAL_ABS_LONG}
|
||||
{$define FPC_SYSTEM_HAS_ABS_LONGINT}
|
||||
Function abs(l:longint):longint;[internproc:fpc_in_abs_long];
|
||||
{$else FPC_HAS_INTERNAL_ABS_LONG}
|
||||
|
@ -169,7 +169,7 @@ Function Random: extended;
|
||||
Procedure Randomize;
|
||||
{$endif FPC_HAS_FEATURE_RANDOM}
|
||||
|
||||
{$ifdef FPC_HAS_INTERNAL_ABS_LONG and (defined(cpui386) or defined(cpux86_64) or defined(cpupowerpc))}
|
||||
{$ifdef FPC_HAS_INTERNAL_ABS_LONG}
|
||||
{$define FPC_SYSTEM_HAS_ABS_LONGINT}
|
||||
Function abs(l:longint):longint;[internproc:fpc_in_abs_long];
|
||||
{$else FPC_HAS_INTERNAL_ABS_LONG}
|
||||
|
Loading…
Reference in New Issue
Block a user