diff options
author | mig <mig> | 2011-05-07 19:30:01 (GMT) |
---|---|---|
committer | mig <mig> | 2011-05-07 19:30:01 (GMT) |
commit | 38e40b2654633366717078677248920f4f42f59f (patch) | |
tree | 323c5b8777546033b6b67234fe31763a09cf4f53 /generic/tclInt.h | |
parent | 54a49520dbc47cc59cf518010e74946dd785d122 (diff) | |
parent | 52c5ec6c788e89bbec00c3ec1e87cba1b04ea66f (diff) | |
download | tcl-38e40b2654633366717078677248920f4f42f59f.zip tcl-38e40b2654633366717078677248920f4f42f59f.tar.gz tcl-38e40b2654633366717078677248920f4f42f59f.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 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; |