Skip to content

Commit 2a4ba0b

Browse files
committed
move defines to definition.inc
1 parent 3e484e7 commit 2a4ba0b

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

python4lazarus/Definition.Inc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121
(* Dr. Dietmar Budelsky, 1998-01-07 *)
2222
(**************************************************************************)
2323

24+
{$IFDEF FPC}
25+
{$IFDEF CPUARM}
26+
{$DEFINE CPUARM32}
27+
{$ENDIF}
28+
29+
{$IFDEF UNIX}
30+
{$DEFINE POSIX}
31+
{$ENDIF}
32+
{$ENDIF}
33+
2434
/////////////////////////////////////////////////////////////////////////////
2535
// Delphi, C++ Builder versions
2636
/////////////////////////////////////////////////////////////////////////////

python4lazarus/MethodCallBack.pas

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
(**************************************************************************)
2727

2828
{$I Definition.Inc}
29-
{$IFDEF CPUARM}
30-
{$DEFINE CPUARM32}
31-
{$ENDIF}
3229

3330
unit MethodCallBack;
3431

python4lazarus/PythonEngine.pas

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@
6464
{$define _so_files}
6565
{$ENDIF}
6666

67-
{$ifdef UNIX}
68-
{$define POSIX} // to be compatible with Python4Delphi
69-
{$endif}
70-
7167
interface
7268

7369
uses

0 commit comments

Comments
 (0)