summaryrefslogtreecommitdiffstats
path: root/unix/tclSelectNotfy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-18 14:31:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-18 14:31:55 (GMT)
commitf69a86b7146ddfe59ba45c2ef1741d9d25121a6e (patch)
tree538e13839ae7aaf90ee97af180caa22dc6599ada /unix/tclSelectNotfy.c
parent5f83d31eceac5d0a48f75293f02725a59168beaf (diff)
downloadtcl-f69a86b7146ddfe59ba45c2ef1741d9d25121a6e.zip
tcl-f69a86b7146ddfe59ba45c2ef1741d9d25121a6e.tar.gz
tcl-f69a86b7146ddfe59ba45c2ef1741d9d25121a6e.tar.bz2
Fix use of TCL_THREADS macro: In Tcl 8.7, this is always defined, but can have value '1' or '0'
Diffstat (limited to 'unix/tclSelectNotfy.c')
-rw-r--r--unix/tclSelectNotfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclSelectNotfy.c b/unix/tclSelectNotfy.c
index e69ffd8..f7e61c9 100644
--- a/unix/tclSelectNotfy.c
+++ b/unix/tclSelectNotfy.c
@@ -921,7 +921,7 @@ TclAsyncNotifier(
int *flagPtr, /* Flag to mark. */
int value) /* Value of mark. */
{
-#ifdef TCL_THREADS
+#if TCL_THREADS
/*
* WARNING:
* This code most likely runs in a signal handler. Thus,