|
@@ -56,10 +56,10 @@ interface
|
|
{$ifndef FPUNONE}
|
|
{$ifndef FPUNONE}
|
|
{$IFDEF FPC_DOTTEDUNITS}
|
|
{$IFDEF FPC_DOTTEDUNITS}
|
|
uses
|
|
uses
|
|
- System.SysUtils;
|
|
|
|
|
|
+ System.SysUtils, System.Types;
|
|
{$ELSE FPC_DOTTEDUNITS}
|
|
{$ELSE FPC_DOTTEDUNITS}
|
|
uses
|
|
uses
|
|
- sysutils;
|
|
|
|
|
|
+ sysutils, types;
|
|
{$ENDIF FPC_DOTTEDUNITS}
|
|
{$ENDIF FPC_DOTTEDUNITS}
|
|
|
|
|
|
{$IFDEF FPDOC_MATH}
|
|
{$IFDEF FPDOC_MATH}
|
|
@@ -144,13 +144,22 @@ Const
|
|
|
|
|
|
EInvalidArgument = class(ematherror);
|
|
EInvalidArgument = class(ematherror);
|
|
|
|
|
|
- TValueRelationship = -1..1;
|
|
|
|
|
|
+{$IFDEF FPC_DOTTEDUNITS}
|
|
|
|
+ TValueRelationship = System.Types.TValueRelationship;
|
|
|
|
+{$ELSE FPC_DOTTEDUNITS}
|
|
|
|
+ TValueRelationship = types.TValueRelationship;
|
|
|
|
+{$ENDIF FPC_DOTTEDUNITS}
|
|
|
|
|
|
const
|
|
const
|
|
- EqualsValue = 0;
|
|
|
|
- LessThanValue = Low(TValueRelationship);
|
|
|
|
- GreaterThanValue = High(TValueRelationship);
|
|
|
|
-
|
|
|
|
|
|
+{$IFDEF FPC_DOTTEDUNITS}
|
|
|
|
+ EqualsValue = System.Types.EqualsValue;
|
|
|
|
+ LessThanValue = System.Types.LessThanValue;
|
|
|
|
+ GreaterThanValue = System.Types.GreaterThanValue;
|
|
|
|
+{$ELSE FPC_DOTTEDUNITS}
|
|
|
|
+ EqualsValue = types.EqualsValue;
|
|
|
|
+ LessThanValue = types.LessThanValue;
|
|
|
|
+ GreaterThanValue = types.GreaterThanValue;
|
|
|
|
+{$ENDIF FPC_DOTTEDUNITS}
|
|
|
|
|
|
|
|
|
|
{$push}
|
|
{$push}
|