Browse Source

--- Merging r43776 into '.':
C rtl/inc/systemh.inc
--- Recording mergeinfo for merge of r43776 into '.':
U .
Summary of conflicts:
Text conflicts: 1

# revisions: 43776
r43776 | svenbarth | 2019-12-24 22:30:00 +0100 (Tue, 24 Dec 2019) | 1 line
Changed paths:
M /trunk/rtl/inc/systemh.inc

* if a CPU platform does not provide a FarPointer type then declare it as an alias to a mere Pointer

git-svn-id: branches/fixes_3_2@47918 -

marco 4 years ago
parent
commit
c612e9c69e
1 changed files with 4 additions and 11 deletions
  1. 4 11
      rtl/inc/systemh.inc

+ 4 - 11
rtl/inc/systemh.inc

@@ -198,9 +198,6 @@ Type
   {$define SUPPORT_SINGLE}
   {$define SUPPORT_SINGLE}
   {$define SUPPORT_DOUBLE}
   {$define SUPPORT_DOUBLE}
 
 
-  {$ifndef VER2_6}
-  FarPointer = Pointer;
-  {$endif}
 {$endif CPUX86_64}
 {$endif CPUX86_64}
 
 
 {$ifdef CPUM68K}
 {$ifdef CPUM68K}
@@ -221,7 +218,6 @@ Type
     ValReal = Real;
     ValReal = Real;
   {$endif}
   {$endif}
 
 
-  FarPointer = Pointer;
 {$endif CPUM68K}
 {$endif CPUM68K}
 
 
 {$ifdef CPUPOWERPC}
 {$ifdef CPUPOWERPC}
@@ -236,7 +232,6 @@ Type
     ValReal = Double;
     ValReal = Double;
   {$endif}
   {$endif}
 
 
-  FarPointer = Pointer;
 {$endif CPUPOWERPC}
 {$endif CPUPOWERPC}
 
 
 {$ifdef CPUSPARC}
 {$ifdef CPUSPARC}
@@ -251,7 +246,6 @@ Type
     ValReal = Double;
     ValReal = Double;
   {$endif}
   {$endif}
 
 
-  FarPointer = Pointer;
 {$endif CPUSPARC}
 {$endif CPUSPARC}
 
 
 {$ifdef CPUSPARC64}
 {$ifdef CPUSPARC64}
@@ -264,7 +258,6 @@ Type
     ValReal = Double;
     ValReal = Double;
   {$endif}
   {$endif}
 
 
-  FarPointer = Pointer;
 {$endif CPUSPARC64}
 {$endif CPUSPARC64}
 
 
 {$if defined(CPUMIPS32) or defined(CPUMIPSEL32)}
 {$if defined(CPUMIPS32) or defined(CPUMIPSEL32)}
@@ -280,7 +273,6 @@ Type
     ValReal = Double;
     ValReal = Double;
   {$endif}
   {$endif}
 
 
-  FarPointer = Pointer;
 {$endif CPUMIPS32}
 {$endif CPUMIPS32}
 
 
 
 
@@ -298,7 +290,6 @@ Type
     ValReal = Real;
     ValReal = Real;
   {$endif}
   {$endif}
 
 
-  FarPointer = Pointer;
 {$endif CPUARM}
 {$endif CPUARM}
 
 
 {$ifdef CPUAVR}
 {$ifdef CPUAVR}
@@ -317,7 +308,6 @@ Type
     ValReal = Real;
     ValReal = Real;
   {$endif}
   {$endif}
 
 
-  FarPointer = Pointer;
 {$endif CPUAVR}
 {$endif CPUAVR}
 
 
 {$ifdef CPUAARCH64}
 {$ifdef CPUAARCH64}
@@ -328,9 +318,12 @@ Type
 
 
   ValReal = Double;
   ValReal = Double;
 
 
-  FarPointer = Pointer;
 {$endif CPUAARCH64}
 {$endif CPUAARCH64}
 
 
+{$if not declared(FarPointer)}
+   FarPointer = Pointer;
+{$endif}
+
 
 
 {$ifdef CPU64}
 {$ifdef CPU64}
   SizeInt = Int64;
   SizeInt = Int64;