summaryrefslogtreecommitdiffstats
path: root/unix/tclSelectNotfy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-22 20:10:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-22 20:10:21 (GMT)
commitb729965a3c4258862bc075facb0291c0c765cd57 (patch)
tree7c7ab2033bacc9629720f18451045082e515a7f2 /unix/tclSelectNotfy.c
parent708eadd19e5581da93b7d8e801ffe977e6e1376f (diff)
downloadtcl-b729965a3c4258862bc075facb0291c0c765cd57.zip
tcl-b729965a3c4258862bc075facb0291c0c765cd57.tar.gz
tcl-b729965a3c4258862bc075facb0291c0c765cd57.tar.bz2
Fix build with TCL_THREADS=0 on Linux/other without epoll or kqueu support. In that case, fallback to select notifier
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 4bdfaef..3172d6a 100644
--- a/unix/tclSelectNotfy.c
+++ b/unix/tclSelectNotfy.c
@@ -11,7 +11,7 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#if !defined(NOTIFIER_EPOLL) && !defined(NOTIFIER_KQUEUE)
+#if (!defined(NOTIFIER_EPOLL) && !defined(NOTIFIER_KQUEUE)) || (defined(TCL_THREADS) && !TCL_THREADS)
#include "tclInt.h"
#ifndef HAVE_COREFOUNDATION /* Darwin/Mac OS X CoreFoundation notifier is