X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fshared%2Fmempool.pas;h=37527dde9ee617f56d647370f4515b93e4fc72fb;hb=6cfc4749e77a32dc356f8dc4b4f26788626bbb4e;hp=0ca3f2f589a437c3931a6d7a510313aa24035dac;hpb=8eea4becb53e1531c8d539c37a2809a8de9965b2;p=d2df-sdl.git diff --git a/src/shared/mempool.pas b/src/shared/mempool.pas index 0ca3f2f..37527dd 100644 --- a/src/shared/mempool.pas +++ b/src/shared/mempool.pas @@ -19,6 +19,7 @@ unit mempool; interface +{$IFDEF USE_MEMPOOL} uses SysUtils; @@ -56,10 +57,11 @@ type public procedure FreeInstance (); override; {$ENDIF} end; - +{$ENDIF} implementation +{$IFDEF USE_MEMPOOL} uses hashtable; @@ -189,4 +191,5 @@ finalization {$IF DEFINED(D2F_DEBUG) and NOT DEFINED(MEM_DISABLE_ACCOUNTING)} dumpPools(); {$ENDIF} +{$ENDIF} // USE_MEMPOOL end.