Browse Source

* replace tcaldefs.inc by cpudefs.inc

git-svn-id: trunk@46765 -
florian 5 years ago
parent
commit
9a7e977167
3 changed files with 15 additions and 17 deletions
  1. 0 1
      .gitattributes
  2. 15 1
      tests/test/cg/cpudefs.inc
  3. 0 15
      tests/test/cg/tcaldefs.inc

+ 0 - 1
.gitattributes

@@ -13782,7 +13782,6 @@ tests/test/cg/tcalcst5.pp svneol=native#text/plain
 tests/test/cg/tcalcst6.pp svneol=native#text/plain
 tests/test/cg/tcalcst7.pp svneol=native#text/plain
 tests/test/cg/tcalcst8.pp svneol=native#text/plain
-tests/test/cg/tcaldefs.inc svneol=native#text/plain
 tests/test/cg/tcalext.pp svneol=native#text/plain
 tests/test/cg/tcalext3.pp svneol=native#text/plain
 tests/test/cg/tcalext4.pp svneol=native#text/plain

+ 15 - 1
tests/test/cg/cpudefs.inc

@@ -1 +1,15 @@
-{$i tcaldefs.inc}
+{$ifdef freertos}
+  {$define cpusmall}
+{$endif freertos}
+{$ifdef embedded}
+  {$define cpusmall}
+{$endif embedded}
+{$ifdef cpu68k}
+  {$define cpusmall}
+{$endif}
+{$ifdef cpui8086}
+  {$define cpusmall}
+  {$if defined(FPC_MM_LARGE) or defined(FPC_MM_HUGE)}
+    {$hugecode on}
+  {$endif}
+{$endif}

+ 0 - 15
tests/test/cg/tcaldefs.inc

@@ -1,15 +0,0 @@
-{$ifdef freertos}
-  {$define cpusmall}
-{$endif freertos}
-{$ifdef embedded}
-  {$define cpusmall}
-{$endif embedded}
-{$ifdef cpu68k}
-  {$define cpusmall}
-{$endif}
-{$ifdef cpui8086}
-  {$define cpusmall}
-  {$if defined(FPC_MM_LARGE) or defined(FPC_MM_HUGE)}
-    {$hugecode on}
-  {$endif}
-{$endif}