Skip to content

Commit fe77546

Browse files
committed
update inc files
1 parent f4a0c5c commit fe77546

2 files changed

Lines changed: 60 additions & 56 deletions

File tree

QRCodeGenLib/src/Include/QRCodeGenLib.inc

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
{ *********************************************************************************** }
2-
{ * QRCodeGenLib Library * }
3-
{ * Author - Ugochukwu Mmaduekwe * }
4-
{ * Github Repository <https://github.com/Xor-el> * }
1+
{ * ************************************************************************ * }
2+
{ * QRCodeGenLib Library * }
3+
{ * Author - Ugochukwu Mmaduekwe * }
4+
{ * Github Repository <https://github.com/Xor-el> * }
5+
{ * * }
6+
{ * Distributed under the MIT software license, see the accompanying file * }
7+
{ * LICENSE * }
8+
{ * or visit http://www.opensource.org/licenses/mit-license. * }
9+
{ * * }
10+
{ * ************************************************************************ * }
511

6-
{ * Distributed under the MIT software license, see the accompanying file LICENSE * }
7-
{ * or visit http://www.opensource.org/licenses/mit-license.php. * }
8-
9-
{ * ******************************************************************************* * }
10-
11-
(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
12+
(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
1213

1314
{========================= Compiler Specific Settings =========================}
1415

Lines changed: 49 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,51 @@
1-
{ *********************************************************************************** }
2-
{ * QRCodeGenLib Library * }
3-
{ * Author - Ugochukwu Mmaduekwe * }
4-
{ * Github Repository <https://github.com/Xor-el> * }
5-
6-
{ * Distributed under the MIT software license, see the accompanying file LICENSE * }
7-
{ * or visit http://www.opensource.org/licenses/mit-license.php. * }
8-
9-
{ * ******************************************************************************* * }
10-
11-
(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
12-
13-
{$IFDEF FPC}
14-
{$IFDEF ENDIAN_BIG}
15-
{$MESSAGE FATAL 'This Library does not support "Big Endian" processors yet.'}
16-
{$ENDIF}
17-
18-
// FPC 3.0.0 and Above
19-
{$IF FPC_FULLVERSION < 30000}
20-
{$MESSAGE ERROR 'This Library requires FreePascal 3.0.0 or higher.'}
21-
{$IFEND}
22-
23-
{$DEFINE Framework_FCL} // enable to force FCL mode
24-
{$IFDEF Framework_FCL}
25-
{$UNDEF LCL}
26-
{$DEFINE FCL}
27-
{$ELSE}
28-
{$DEFINE LCL}
29-
{$ENDIF}
30-
31-
{$IFDEF LCL}
32-
{$DEFINE VCL_OR_LCL}
33-
{$ENDIF LCL}
34-
35-
{$MODE DELPHI}
36-
{$MACRO ON}
37-
{$NOTES OFF}
38-
{$OPTIMIZATION LEVEL3}
39-
{$OPTIMIZATION PEEPHOLE}
40-
{$OPTIMIZATION REGVAR}
41-
{$OPTIMIZATION LOOPUNROLL}
42-
{$OPTIMIZATION STRENGTH}
43-
{$OPTIMIZATION CSE}
44-
{$OPTIMIZATION DFA}
45-
{$IFDEF CPUI386} {$OPTIMIZATION USEEBP} {$ENDIF}
46-
{$IFDEF CPUX86_64} {$OPTIMIZATION USERBP} {$ENDIF}
1+
{ * ************************************************************************ * }
2+
{ * QRCodeGenLib Library * }
3+
{ * Author - Ugochukwu Mmaduekwe * }
4+
{ * Github Repository <https://github.com/Xor-el> * }
5+
{ * * }
6+
{ * Distributed under the MIT software license, see the accompanying file * }
7+
{ * LICENSE * }
8+
{ * or visit http://www.opensource.org/licenses/mit-license. * }
9+
{ * * }
10+
{ * ************************************************************************ * }
11+
12+
(* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
13+
14+
// FPC 3.0.0 and Above
15+
{$IF FPC_FULLVERSION < 30000}
16+
{$MESSAGE ERROR 'This Library requires FreePascal 3.0.0 or higher.'}
17+
{$IFEND}
18+
19+
{$IFDEF ENDIAN_BIG}
20+
{$MESSAGE FATAL 'This Library does not support "Big Endian" processors yet.'}
4721
{$ENDIF}
4822

23+
{========================= Framework Selection ================================}
24+
25+
{$DEFINE Framework_FCL} // enable to force FCL mode
26+
{$IFDEF Framework_FCL}
27+
{$UNDEF LCL}
28+
{$DEFINE FCL}
29+
{$ELSE}
30+
{$DEFINE LCL}
31+
{$ENDIF}
32+
{$IFDEF LCL}
33+
{$DEFINE VCL_OR_LCL}
34+
{$ENDIF LCL}
35+
36+
{========================= Compiler Mode & Optimizations ======================}
37+
38+
{$MODE DELPHI}
39+
{$MACRO ON}
40+
{$NOTES OFF}
41+
42+
(*
43+
{$OPTIMIZATION LEVEL3}
44+
{$OPTIMIZATION PEEPHOLE}
45+
{$OPTIMIZATION REGVAR}
46+
{$OPTIMIZATION LOOPUNROLL}
47+
{$OPTIMIZATION STRENGTH}
48+
{$OPTIMIZATION CSE}
49+
{$OPTIMIZATION DFA}
50+
{$IFDEF CPUI386} {$OPTIMIZATION USEEBP} {$ENDIF}
51+
*)

0 commit comments

Comments
 (0)