diff --git a/src/shared/mempool.pas b/src/shared/mempool.pas
index 0ca3f2f589a437c3931a6d7a510313aa24035dac..37527dde9ee617f56d647370f4515b93e4fc72fb 100644 (file)
--- a/src/shared/mempool.pas
+++ b/src/shared/mempool.pas
interface
+{$IFDEF USE_MEMPOOL}
uses
SysUtils;
public procedure FreeInstance (); override;
{$ENDIF}
end;
-
+{$ENDIF}
implementation
+{$IFDEF USE_MEMPOOL}
uses
hashtable;
{$IF DEFINED(D2F_DEBUG) and NOT DEFINED(MEM_DISABLE_ACCOUNTING)}
dumpPools();
{$ENDIF}
+{$ENDIF} // USE_MEMPOOL
end.