diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2021-04-01 08:18:38 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2021-04-01 08:18:38 (GMT) |
commit | 55bb44b8bec17ea6e369820e70c97d8939e1ff70 (patch) | |
tree | 1144a225c49917782368865bf4f7a75ca0ceeb99 /generic | |
parent | 5ca6887e668192a78c3970398c98a574210c6296 (diff) | |
download | tcl-55bb44b8bec17ea6e369820e70c97d8939e1ff70.zip tcl-55bb44b8bec17ea6e369820e70c97d8939e1ff70.tar.gz tcl-55bb44b8bec17ea6e369820e70c97d8939e1ff70.tar.bz2 |
Forgot a place to #ifndef out
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclNotify.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c index 9b5234b..12b40b1 100644 --- a/generic/tclNotify.c +++ b/generic/tclNotify.c @@ -235,12 +235,6 @@ Tcl_SetNotifier( * loop. */ - if (tclNotifierHooks.createFileHandlerProc == Tcl_CreateFileHandler) { - tclNotifierHooks.createFileHandlerProc = NULL; - } - if (tclNotifierHooks.deleteFileHandlerProc == Tcl_DeleteFileHandler) { - tclNotifierHooks.deleteFileHandlerProc = NULL; - } if (tclNotifierHooks.setTimerProc == Tcl_SetTimer) { tclNotifierHooks.setTimerProc = NULL; } @@ -259,6 +253,14 @@ Tcl_SetNotifier( if (tclNotifierHooks.serviceModeHookProc == Tcl_ServiceModeHook) { tclNotifierHooks.serviceModeHookProc = NULL; } +#ifndef _WIN32 + if (tclNotifierHooks.createFileHandlerProc == Tcl_CreateFileHandler) { + tclNotifierHooks.createFileHandlerProc = NULL; + } + if (tclNotifierHooks.deleteFileHandlerProc == Tcl_DeleteFileHandler) { + tclNotifierHooks.deleteFileHandlerProc = NULL; + } +#endif /* !_WIN32 */ } /* |