summaryrefslogtreecommitdiffstats
path: root/unix/tclEpollNotfy.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/tclEpollNotfy.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/tclEpollNotfy.c')
-rw-r--r--unix/tclEpollNotfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclEpollNotfy.c b/unix/tclEpollNotfy.c
index ce7d6b1..bab02ee 100644
--- a/unix/tclEpollNotfy.c
+++ b/unix/tclEpollNotfy.c
@@ -795,7 +795,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,