Ver código fonte

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

git-svn-id: trunk@42720 -
svenbarth 6 anos atrás
pai
commit
9cac24a325
1 arquivos alterados com 3 adições e 3 exclusões
  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;