Răsfoiți Sursa

* as 3.2.0 is now the oldest compiler we support we can now use {$push} {$pop} to reset the $minenumsize in the RTTI header

git-svn-id: trunk@49403 -
svenbarth 4 ani în urmă
părinte
comite
cb953f68c2
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      rtl/inc/rttih.inc

+ 2 - 2
rtl/inc/rttih.inc

@@ -11,7 +11,7 @@
 
  **********************************************************************}
 
-{ sadly MinEnumSize is not handled by Push/Pop :'( }
+{$PUSH}
 {$MINENUMSIZE 1   this saves a lot of memory }
 
 type
@@ -26,7 +26,7 @@ type
               tkDynArray,tkInterfaceRaw,tkProcVar,tkUString,tkUChar,
               tkHelper,tkFile,tkClassRef,tkPointer);
 
-{$MINENUMSIZE DEFAULT}
+{$POP}
 
 const
   { some Delphi-compatible aliases }