diff options
author | mig <mig> | 2011-05-07 19:33:47 (GMT) |
---|---|---|
committer | mig <mig> | 2011-05-07 19:33:47 (GMT) |
commit | 1b5ae0d580bc997899052269bd9bf5a351ce2254 (patch) | |
tree | be44187cea00ad68a0b395d53341c72909ef0a13 /generic/tclInt.h | |
parent | 40cda0332e1b2f519820ae88d305adc55ff14ab8 (diff) | |
parent | a1c89c96202675838c881bc0abd1f1d23925cafd (diff) | |
download | tcl-1b5ae0d580bc997899052269bd9bf5a351ce2254.zip tcl-1b5ae0d580bc997899052269bd9bf5a351ce2254.tar.gz tcl-1b5ae0d580bc997899052269bd9bf5a351ce2254.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 e3aaccb..fdcd4e9 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -3940,6 +3940,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; |