Browse Source

fix compilation issue on BSD

Ugochukwu Mmaduekwe 6 years ago
parent
commit
e310f9cb74
1 changed files with 2 additions and 2 deletions
  1. 2 2
      CryptoLib/src/Utils/Randoms/ClpOSRandom.pas

+ 2 - 2
CryptoLib/src/Utils/Randoms/ClpOSRandom.pas

@@ -327,8 +327,8 @@ function SecRandomCopyBytes(rnd: SecRandomRef; count: LongWord; bytes: PByte)
 {$ENDIF}
 // ************************************************************************//
 {$IFDEF CRYPTOLIB_GENERIC_BSD}
-procedure arc4random_buf(bytes: PByte; count: LongWord); cdecl; external;
-'c' name 'arc4random_buf';
+procedure arc4random_buf(bytes: PByte; count: LongWord); cdecl;
+  external 'c' name 'arc4random_buf';
 {$ENDIF}
 
 implementation