diff options
author | mig <mig> | 2011-05-07 19:22:13 (GMT) |
---|---|---|
committer | mig <mig> | 2011-05-07 19:22:13 (GMT) |
commit | 6e968aa4b347f2486c5a7d0b8f72ba2bd5134495 (patch) | |
tree | ad33a3e7848e56bc7af6be1a1bcb46b158480663 /generic/tclInt.h | |
parent | f876bd8d241503fbea9bde27bd062e48da781d10 (diff) | |
download | tcl-6e968aa4b347f2486c5a7d0b8f72ba2bd5134495.zip tcl-6e968aa4b347f2486c5a7d0b8f72ba2bd5134495.tar.gz tcl-6e968aa4b347f2486c5a7d0b8f72ba2bd5134495.tar.bz2 |
fix USE_TCLALLOC so that it can be enabled without editing the Makefile
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index b080fef..20c1155 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -2515,6 +2515,13 @@ EXTERN void TclpFreeAllocCache _ANSI_ARGS_((void *)); #else /* not TCL_MEM_DEBUG */ +#if defined(USE_TCLALLOC) && USE_TCLALLOC + MODULE_SCOPE void TclFinalizeAllocSubsystem(); + MODULE_SCOPE void TclInitAlloc(); +#else +# define USE_TCLALLOC 0 +#endif + #ifdef TCL_THREADS /* declared in tclObj.c */ extern Tcl_Mutex tclObjMutex; |