CryptoLibHelper.inc 1.4 KB

123456789101112131415161718192021222324252627282930
  1. { *********************************************************************************** }
  2. { * CryptoLib Library * }
  3. { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
  4. { * Github Repository <https://github.com/Xor-el> * }
  5. { * Distributed under the MIT software license, see the accompanying file LICENSE * }
  6. { * or visit http://www.opensource.org/licenses/mit-license.php. * }
  7. { * Acknowledgements: * }
  8. { * * }
  9. { * Thanks to Sphere 10 Software (http://www.sphere10.com/) for sponsoring * }
  10. { * development of this library * }
  11. { * ******************************************************************************* * }
  12. (* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
  13. {$MACRO ON}
  14. {$IFDEF ENDIAN_BIG}
  15. {$MESSAGE FATAL 'This Library does not support "Big Endian" processors yet.'}
  16. {$ENDIF}
  17. // FPC 3.0.4 and Above
  18. // Had to Include this here since Delphi does not allow it Compile in "CryptoLib.inc".
  19. {$IF FPC_FULLVERSION < 30004}
  20. {$MESSAGE ERROR 'This Library requires FreePascal 3.0.4 or higher.'}
  21. {$IFEND}
  22. {$IF FPC_FULLVERSION >= 30301}
  23. {$DEFINE HAS_VOLATILE}
  24. {$IFEND}