diff --git a/src/BCrypt.Consts.pas b/src/BCrypt.Consts.pas index d589171..78e82b9 100644 --- a/src/BCrypt.Consts.pas +++ b/src/BCrypt.Consts.pas @@ -2,7 +2,7 @@ interface -uses System.Types; +uses {$IFDEF FPC}Types{$ELSE}System.Types{$ENDIF}; const BCRYPT_SALT_LEN = 16; diff --git a/src/BCrypt.Core.pas b/src/BCrypt.Core.pas index 18a63f9..c1acaab 100644 --- a/src/BCrypt.Core.pas +++ b/src/BCrypt.Core.pas @@ -2,7 +2,7 @@ interface -uses System.SysUtils, System.Classes, System.Types, System.StrUtils, System.Math, BCrypt.Types, BCrypt.Intf, BCrypt.Consts; +uses {$IFDEF FPC}SysUtils, Classes, Types, StrUtils, Math{$ELSE}System.SysUtils, System.Classes, System.Types, System.StrUtils, System.Math{$ENDIF}, BCrypt.Types, BCrypt.Intf, BCrypt.Consts; type TBCryptImpl = class(TInterfacedObject, IBCrypt) diff --git a/src/BCrypt.Types.pas b/src/BCrypt.Types.pas index ebdc0c9..2bdaf8a 100644 --- a/src/BCrypt.Types.pas +++ b/src/BCrypt.Types.pas @@ -2,7 +2,7 @@ interface -uses System.SysUtils; +uses {$IFDEF FPC}SysUtils{$ELSE}System.SysUtils{$ENDIF}; type {$SCOPEDENUMS ON}