-
-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathHashLibFPC.inc
More file actions
49 lines (40 loc) · 1.75 KB
/
Copy pathHashLibFPC.inc
File metadata and controls
49 lines (40 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{ * ************************************************************************ * }
{ * HashLib Library * }
{ * Author - Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.com/Xor-el> * }
{ * * }
{ * Distributed under the MIT software license, see the accompanying file * }
{ * LICENSE * }
{ * or visit http://www.opensource.org/licenses/mit-license. * }
{ * * }
{ * ************************************************************************ * }
(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
{$IFDEF FPC}
// FPC 3.2.2 and Above
{$IF FPC_FULLVERSION < 30202}
{$MESSAGE ERROR 'This Library requires FreePascal 3.2.2 or higher.'}
{$IFEND}
{$IFDEF ENDIAN_BIG}
{$MESSAGE FATAL 'This Library does not support "Big Endian" processors yet.'}
{$ENDIF}
{$IFDEF FPC_LITTLE_ENDIAN}
{$DEFINE HASHLIB_LITTLE_ENDIAN}
{$ENDIF}
{$IFDEF FPC_REQUIRES_PROPER_ALIGNMENT}
{$DEFINE HASHLIB_REQUIRES_PROPER_ALIGNMENT}
{$ENDIF}
{$IF FPC_FULLVERSION >= 30301}
{.$DEFINE HASHLIB_USE_PPL} // Use Parallel Programming Library
{$IFEND}
{$DEFINE USE_UNROLLED_VARIANT}
{$MODE DELPHI}
{$MACRO ON}
{$ASMMODE INTEL}
{$NOTES OFF}
{$OPTIMIZATION LEVEL3}
{$OPTIMIZATION NOUSELOADMODIFYSTORE}
{$OPTIMIZATION ORDERFIELDS}
{$OPTIMIZATION DEADVALUES}
{$IFDEF CPUI386} {$OPTIMIZATION USEEBP} {$ENDIF}
{$IFDEF CPUX86_64} {$OPTIMIZATION USERBP} {$ENDIF}
{$ENDIF}