X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fshared%2Fidpool.pas;h=9e0a0124e810bff02b7a74d79d6cf1e5305a1c76;hb=345e116f73d0e4b11593a94bee7d18b9e64572eb;hp=4722be8838635794e913348909d334ba72befdcc;hpb=31d174a428ef1235e1708b0738804b47e006cf5c;p=d2df-sdl.git diff --git a/src/shared/idpool.pas b/src/shared/idpool.pas index 4722be8..9e0a012 100644 --- a/src/shared/idpool.pas +++ b/src/shared/idpool.pas @@ -19,14 +19,16 @@ unit idpool; interface +{$IFDEF USE_MEMPOOL} uses mempool; +{$ENDIF} // ////////////////////////////////////////////////////////////////////////// // type //TODO: implement getting n sequential ids - TIdPool = class(TPoolObject) + TIdPool = class{$IFDEF USE_MEMPOOL}(TPoolObject){$ENDIF} public const InvalidId = $ffffffff;