summaryrefslogtreecommitdiffstats
path: root/generic/tclCkalloc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-08 12:11:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-08 12:11:11 (GMT)
commit4a3369807be6e501ec6452edf99a73514c24d861 (patch)
treee7a85fb10396fe26d7d4531bd3c7f837563c6b40 /generic/tclCkalloc.c
parent5039e7ce17a9ea6c7352b39a0bd70e31433b7843 (diff)
downloadtcl-4a3369807be6e501ec6452edf99a73514c24d861.zip
tcl-4a3369807be6e501ec6452edf99a73514c24d861.tar.gz
tcl-4a3369807be6e501ec6452edf99a73514c24d861.tar.bz2
Eliminate warnings when compiling with -Wundef
Diffstat (limited to 'generic/tclCkalloc.c')
-rw-r--r--generic/tclCkalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCkalloc.c b/generic/tclCkalloc.c
index 0dc1dca..6d661f6 100644
--- a/generic/tclCkalloc.c
+++ b/generic/tclCkalloc.c
@@ -1324,7 +1324,7 @@ TclFinalizeMemorySubsystem(void)
Tcl_MutexUnlock(ckallocMutexPtr);
#endif
-#if USE_TCLALLOC
+#if defined(USE_TCLALLOC) && USE_TCLALLOC
TclFinalizeAllocSubsystem();
#endif
}