mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 21:09:27 +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;
|
Procedure Randomize;
|
||||||
{$endif FPC_HAS_FEATURE_RANDOM}
|
{$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}
|
{$define FPC_SYSTEM_HAS_ABS_LONGINT}
|
||||||
Function abs(l:longint):longint;[internproc:fpc_in_abs_long];
|
Function abs(l:longint):longint;[internproc:fpc_in_abs_long];
|
||||||
{$else FPC_HAS_INTERNAL_ABS_LONG}
|
{$else FPC_HAS_INTERNAL_ABS_LONG}
|
||||||
|
@ -169,7 +169,7 @@ Function Random: extended;
|
|||||||
Procedure Randomize;
|
Procedure Randomize;
|
||||||
{$endif FPC_HAS_FEATURE_RANDOM}
|
{$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}
|
{$define FPC_SYSTEM_HAS_ABS_LONGINT}
|
||||||
Function abs(l:longint):longint;[internproc:fpc_in_abs_long];
|
Function abs(l:longint):longint;[internproc:fpc_in_abs_long];
|
||||||
{$else FPC_HAS_INTERNAL_ABS_LONG}
|
{$else FPC_HAS_INTERNAL_ABS_LONG}
|
||||||
|
Loading…
Reference in New Issue
Block a user