summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorredman <redman>1999-07-02 21:50:04 (GMT)
committerredman <redman>1999-07-02 21:50:04 (GMT)
commit2472e6704472024174fc054de2aa3355c79db345 (patch)
tree2fb3dcb50c859305e4679ff209662b86a4bb18f4 /generic
parentacb2e7aeb422ab6d093a84c64276534a9e550617 (diff)
downloadtcl-2472e6704472024174fc054de2aa3355c79db345.zip
tcl-2472e6704472024174fc054de2aa3355c79db345.tar.gz
tcl-2472e6704472024174fc054de2aa3355c79db345.tar.bz2
Block out unix-only code for windows & mac.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclNotify.c4
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;
}