diff options
Diffstat (limited to 'unix/tclUnixEvent.c')
| -rw-r--r-- | unix/tclUnixEvent.c | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/unix/tclUnixEvent.c b/unix/tclUnixEvent.c index 214bf4c..40aac6f 100644 --- a/unix/tclUnixEvent.c +++ b/unix/tclUnixEvent.c @@ -7,11 +7,11 @@   *   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) $Id: tclUnixEvent.c,v 1.9 2005/11/02 23:26:50 dkf Exp $   */  #include "tclInt.h" +#ifndef HAVE_COREFOUNDATION	/* Darwin/Mac OS X CoreFoundation notifier is +				 * in tclMacOSXNotify.c */  /*   *---------------------------------------------------------------------- @@ -64,7 +64,7 @@ Tcl_Sleep(  	}  	if ((vdelay.sec != 0) || (vdelay.usec != 0)) { -	    (*tclScaleTimeProcPtr) (&vdelay, tclTimeClientData); +	    tclScaleTimeProcPtr(&vdelay, tclTimeClientData);  	}  	delay.tv_sec  = vdelay.sec; @@ -85,6 +85,7 @@ Tcl_Sleep(      }  } +#endif /* HAVE_COREFOUNDATION */  /*   * Local Variables:   * mode: c | 
