DEADSOFTWARE

mempool is optional now
[d2df-sdl.git] / src / shared / CONFIG.pas
index 7ecc51e70fb180944e2dd2c36b48ce917bb3f1a3..4aa7e659b79a47c6d0351c4002533414dc0c3fc9 100644 (file)
 {$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;