소스 검색

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

carl 23 년 전
부모
커밋
92fbb3038a
1개의 변경된 파일28개의 추가작업 그리고 0개의 파일을 삭제
  1. 28 0
      compiler/fpcdefs.inc

+ 28 - 0
compiler/fpcdefs.inc

@@ -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}