mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-20 07:11:43 +02:00
+ x86 define added
This commit is contained in:
parent
0acee5e02e
commit
7ee2694782
35
compiler/defines.inc
Normal file
35
compiler/defines.inc
Normal file
@ -0,0 +1,35 @@
|
||||
{$ifdef FPC}
|
||||
{$ifdef DELPHI}
|
||||
{$mode delphi}
|
||||
{$asmmode intel}
|
||||
{$else}
|
||||
{$mode objfpc}
|
||||
{$H-}
|
||||
{$goto on}
|
||||
|
||||
{ This reduces the memory requirements a lot }
|
||||
{$PACKENUM 1}
|
||||
|
||||
{$define FPCPROCVAR}
|
||||
{$ifdef I386}
|
||||
{$define USEEXCEPT}
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$endif}
|
||||
|
||||
{$ifdef DELPHI}
|
||||
{$H-}
|
||||
{$J+}
|
||||
|
||||
{$Z1}
|
||||
|
||||
{$undef FPCPROCVAR}
|
||||
{$define USEEXCEPT}
|
||||
{$endif}
|
||||
|
||||
{$ifdef i386}
|
||||
{$define x86}
|
||||
{$endif i386}
|
||||
{$ifdef x86_64}
|
||||
{$define x86}
|
||||
{$endif x86_64}
|
@ -26,3 +26,10 @@
|
||||
{$undef FPCPROCVAR}
|
||||
{$define USEEXCEPT}
|
||||
{$endif}
|
||||
|
||||
{$ifdef i386}
|
||||
{$define x86}
|
||||
{$endif i386}
|
||||
{$ifdef x86_64}
|
||||
{$define x86}
|
||||
{$endif x86_64}
|
||||
|
Loading…
Reference in New Issue
Block a user