Browse Source

* fix compilation on targets that don't have a RawThunk defined yet

git-svn-id: trunk@42720 -
svenbarth 6 years ago
parent
commit
9cac24a325
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packages/rtl-objpas/src/inc/rtti.pp

+ 3 - 3
packages/rtl-objpas/src/inc/rtti.pp

@@ -831,9 +831,6 @@ end;
 label
   RawThunkEnd;
 
-const
-  RawThunkEndPtr: Pointer = @RawThunkEnd;
-
 {$if defined(cpui386)}
 const
   RawThunkPlaceholderBytesToPop = $12341234;
@@ -869,6 +866,9 @@ end;
 {$endif}
 
 {$if declared(RawThunk)}
+const
+  RawThunkEndPtr: Pointer = @RawThunkEnd;
+
 type
 {$if declared(TRawThunkBytesToPop)}
   PRawThunkBytesToPop = ^TRawThunkBytesToPop;