diff options
author | redman <redman> | 1999-07-02 21:50:04 (GMT) |
---|---|---|
committer | redman <redman> | 1999-07-02 21:50:04 (GMT) |
commit | 2472e6704472024174fc054de2aa3355c79db345 (patch) | |
tree | 2fb3dcb50c859305e4679ff209662b86a4bb18f4 /generic/tclNotify.c | |
parent | acb2e7aeb422ab6d093a84c64276534a9e550617 (diff) | |
download | tcl-2472e6704472024174fc054de2aa3355c79db345.zip tcl-2472e6704472024174fc054de2aa3355c79db345.tar.gz tcl-2472e6704472024174fc054de2aa3355c79db345.tar.bz2 |
Block out unix-only code for windows & mac.
Diffstat (limited to 'generic/tclNotify.c')
-rw-r--r-- | generic/tclNotify.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c index 8d4d270..2ce8f72 100644 --- a/generic/tclNotify.c +++ b/generic/tclNotify.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclNotify.c,v 1.5 1999/07/02 06:04:26 welch Exp $ + * RCS: @(#) $Id: tclNotify.c,v 1.6 1999/07/02 21:50:04 redman Exp $ */ #include "tclInt.h" @@ -186,8 +186,10 @@ void Tcl_SetNotifier(notifierProcPtr) Tcl_NotifierProcs *notifierProcPtr; { +#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ tclStubs.tcl_CreateFileHandler = notifierProcPtr->createFileHandlerProc; tclStubs.tcl_DeleteFileHandler = notifierProcPtr->deleteFileHandlerProc; +#endif tclStubs.tcl_SetTimer = notifierProcPtr->setTimerProc; tclStubs.tcl_WaitForEvent = notifierProcPtr->waitForEventProc; } |