Browse Source

Fix compilation with 2.6.x.

rtl/inc/objpash.inc:
  * TVmt: don't include the reference count offset field in the VMT for 2.6.x.

git-svn-id: branches/svenbarth/arc@28874 -
svenbarth 10 years ago
parent
commit
a55ac22d32
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/inc/objpash.inc

+ 2 - 0
rtl/inc/objpash.inc

@@ -110,7 +110,9 @@
          vAutoTable: Pointer;
          vIntfTable: PInterfaceTable;
          vMsgStrPtr: pstringmessagetable;
+         {$ifndef VER2_6}
          vRefCountOfs: SizeInt;
+         {$endif}
          vDestroy: CodePointer;
          vNewInstance: CodePointer;
          vFreeInstance: CodePointer;