X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fshared%2FCONFIG.pas;h=4aa7e659b79a47c6d0351c4002533414dc0c3fc9;hb=9e198c59ced795c654bc7b028d5aedc5f23b53dd;hp=155ebacabbeee0357f7e6fbd21225d2541c014f8;hpb=31d174a428ef1235e1708b0738804b47e006cf5c;p=d2df-sdl.git diff --git a/src/shared/CONFIG.pas b/src/shared/CONFIG.pas index 155ebac..4aa7e65 100644 --- a/src/shared/CONFIG.pas +++ b/src/shared/CONFIG.pas @@ -16,16 +16,12 @@ {$INCLUDE a_modes.inc} unit CONFIG; -{ ------------------------------------ -CONFIG.PAS ÂÅÐÑÈß ÎÒ 24.09.06 ------------------------------------ -} - interface +{$IFDEF USE_MEMPOOL} uses mempool; +{$ENDIF} type TParam = record @@ -34,7 +30,7 @@ type Section: Word; end; - TConfig = class(TPoolObject) + TConfig = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF} private FParams: array of TParam; FSections: array of ShortString; @@ -61,7 +57,7 @@ type implementation uses - SysUtils, BinEditor; + SysUtils, utils; { TConfig }