diff options
author | mig <mig@noemail.net> | 2011-05-07 19:30:01 (GMT) |
---|---|---|
committer | mig <mig@noemail.net> | 2011-05-07 19:30:01 (GMT) |
commit | 55a56d8b70ba9976a5a1c1f2221821e638eb2799 (patch) | |
tree | 323c5b8777546033b6b67234fe31763a09cf4f53 /generic | |
parent | 5ea78317d19a38f36002298857291a3602ee7337 (diff) | |
parent | dbad185156aaeecf2c0646a1469dfdac7c68b618 (diff) | |
download | tcl-55a56d8b70ba9976a5a1c1f2221821e638eb2799.zip tcl-55a56d8b70ba9976a5a1c1f2221821e638eb2799.tar.gz tcl-55a56d8b70ba9976a5a1c1f2221821e638eb2799.tar.bz2 |
fix USE_TCLALLOC so that it can be enabled without editing the Makefile
FossilOrigin-Name: a569696f480555952363d95141e70a6c70443a76
Diffstat (limited to 'generic')
-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 6fb3e57..f2fd0b8 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -3522,6 +3522,13 @@ MODULE_SCOPE void TclpFreeAllocCache(void *); #else /* not PURIFY or USE_THREAD_ALLOC */ +#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 */ MODULE_SCOPE Tcl_Mutex tclObjMutex; |