Skip to content

Commit

Permalink
Free Pascal Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciussanchez committed Sep 8, 2021
1 parent 870c9e2 commit 30e856e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/BCrypt.Consts.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

interface

uses System.Types;
uses {$IFDEF FPC}Types{$ELSE}System.Types{$ENDIF};

const
BCRYPT_SALT_LEN = 16;
Expand Down
2 changes: 1 addition & 1 deletion src/BCrypt.Core.pas
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/BCrypt.Types.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

interface

uses System.SysUtils;
uses {$IFDEF FPC}SysUtils{$ELSE}System.SysUtils{$ENDIF};

type
{$SCOPEDENUMS ON}
Expand Down

0 comments on commit 30e856e

Please sign in to comment.