From cb953f68c24fdb97ed1e8b5c2c59c7cdcf3c38e8 Mon Sep 17 00:00:00 2001 From: svenbarth Date: Thu, 27 May 2021 05:43:01 +0000 Subject: [PATCH] * 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 - --- rtl/inc/rttih.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtl/inc/rttih.inc b/rtl/inc/rttih.inc index 27b5e9217f..ee4ca7946f 100644 --- a/rtl/inc/rttih.inc +++ b/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 }