File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed
Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 1212(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
1313
1414{ $IFDEF FPC}
15- { $IFDEF FPC_LITTLE_ENDIAN}
16- { $DEFINE HASHLIB_LITTLE_ENDIAN}
17- { $ENDIF}
15+ // FPC 3.0.0 and Above
16+ { $IF FPC_FULLVERSION < 30000}
17+ { $MESSAGE ERROR 'This Library requires FreePascal 3.0.0 or higher.'}
18+ { $IFEND}
1819
19- { $IFDEF FPC_REQUIRES_PROPER_ALIGNMENT}
20- { $DEFINE HASHLIB_REQUIRES_PROPER_ALIGNMENT}
21- { $ENDIF}
20+ { $IFDEF FPC_LITTLE_ENDIAN}
21+ { $DEFINE HASHLIB_LITTLE_ENDIAN}
22+ { $ENDIF}
23+
24+ { $IFDEF FPC_REQUIRES_PROPER_ALIGNMENT}
25+ { $DEFINE HASHLIB_REQUIRES_PROPER_ALIGNMENT}
26+ { $ENDIF}
2227
23- { $IF FPC_FULLVERSION >= 30301}
24- { .$DEFINE HASHLIB_USE_PPL} // Use Parallel Programming Library
25- { $IFEND}
28+ { $IF FPC_FULLVERSION >= 30301}
29+ { .$DEFINE HASHLIB_USE_PPL} // Use Parallel Programming Library
30+ { $IFEND}
2631
2732 { $DEFINE USE_UNROLLED_VARIANT}
2833
You can’t perform that action at this time.
0 commit comments