defines.inc -> fpcdefs.inc to avoir conflicts if compiling compiler by hand with win32 vrtl defines.inc

This commit is contained in:
carl 2002-05-16 19:34:01 +00:00
parent 0cfe673d5a
commit 92fbb3038a

28
compiler/fpcdefs.inc Normal file
View File

@ -0,0 +1,28 @@
{$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}