Skip to content

Commit

Permalink
sync definitions.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Oct 27, 2022
1 parent bcecda7 commit 367181f
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions python4lazarus/Definition.Inc
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,6 @@
(* Dr. Dietmar Budelsky, 1998-01-07 *)
(**************************************************************************)

{$IFDEF FPC}
{$IFDEF CPUARM}
{$DEFINE CPUARM32}
{$ENDIF}

{$IFDEF CPUAARCH64}
{$DEFINE CPUARM}
{$DEFINE CPUARM64}
{$ENDIF}

{$IFDEF DARWIN}
{$DEFINE OSX}
{$ENDIF}

{$IFDEF UNIX}
{$DEFINE POSIX}
{$ENDIF}
{$ENDIF}

/////////////////////////////////////////////////////////////////////////////
// Delphi, C++ Builder versions
/////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -223,22 +204,43 @@

{$IFDEF FPC}
{$MODE DELPHI}

{$IFDEF CPU64}
{$DEFINE CPU64BITS}
{$ENDIF CPU64}
{$IFDEF CPU386}

{$IFDEF CPU86}
{$DEFINE CPUX86}
{$ENDIF CPU32}
{$ENDIF CPU86}

{$IFDEF DARWIN}
{$DEFINE OSX}
{$DEFINE MACOS}
{$DEFINE ALIGN_STACK}
{$IFDEF CPU32}
{$DEFINE MACOS32}
{$ENDIF CPU32}
{$IFDEF CPU64}
{$DEFINE MACOS64}
{$DEFINE OSX64}
{$ENDIF CPU64}
{$ENDIF DARWIN}

{$IFDEF CPUARM}
{$DEFINE CPUARM32}
{$ENDIF}

{$IFDEF CPUAARCH64}
{$DEFINE CPUARM}
{$DEFINE CPUARM64}
{$ENDIF}

{$IFDEF UNIX}
{$DEFINE POSIX}
{$ENDIF UNIX}

{$IFDEF ANDROID}
{$DEFINE POSIX}
{$ENDIF ANDROID}
{$ENDIF FPC}

{$IFDEF DELPHIXE_OR_HIGHER}
Expand All @@ -249,8 +251,6 @@
{$LEGACYIFEND ON}
{$ENDIF DELPHIXE4_OR_HIGHER}

{$IFDEF DELPHIXE2_OR_HIGHER}
{$IFDEF MACOS}
{$DEFINE DARWIN}
{$ENDIF MACOS}
{$ENDIF DELPHIXE2_OR_HIGHER}
{$IFDEF MACOS}
{$DEFINE DARWIN}
{$ENDIF MACOS}

0 comments on commit 367181f

Please sign in to comment.