Skip to content

Commit

Permalink
Ajustes de compilação relacionado a compatibilidade;
Browse files Browse the repository at this point in the history
Na classe System.SysUtils a constante CP_UTF8 se utiliza da Conditional compilation POSIX;

* Referencias:
[http://docwiki.embarcadero.com/RADStudio/Rio/en/Conditional_compilation_(Delphi)]
  • Loading branch information
josiasmaceda committed Aug 10, 2020
1 parent 4fe20c0 commit 5e0577c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/BCrypt.Types.pas
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ interface
end;

EBCrypt = class(Exception);
{$IFDEF POSIX}
UTF8String = type AnsiString(CP_UTF8);
{$ENDIF POSIX}

implementation

Expand Down

0 comments on commit 5e0577c

Please sign in to comment.