diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-22 20:10:21 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-22 20:10:21 (GMT) |
| commit | b729965a3c4258862bc075facb0291c0c765cd57 (patch) | |
| tree | 7c7ab2033bacc9629720f18451045082e515a7f2 /unix/tclKqueueNotfy.c | |
| parent | 708eadd19e5581da93b7d8e801ffe977e6e1376f (diff) | |
| download | tcl-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/tclKqueueNotfy.c')
| -rw-r--r-- | unix/tclKqueueNotfy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclKqueueNotfy.c b/unix/tclKqueueNotfy.c index 049829e..3fddeea 100644 --- a/unix/tclKqueueNotfy.c +++ b/unix/tclKqueueNotfy.c @@ -13,7 +13,7 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ -#ifdef NOTIFIER_KQUEUE +#if defined(NOTIFIER_KQUEUE) && (!defined(TCL_THREADS) || TCL_THREADS) #include "tclInt.h" #ifndef HAVE_COREFOUNDATION /* Darwin/Mac OS X CoreFoundation notifier is |
