diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-10-06 19:27:50 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-10-06 19:27:50 (GMT) |
commit | ac64234d395ac3668392e5cc504e68a41b85ea29 (patch) | |
tree | 294de0dc417b34f943ca6084b3601a6b9dd1321f /unix | |
parent | 508c1b5e5d2307c829e66710894e5749edc8d9fe (diff) | |
download | tcl-ac64234d395ac3668392e5cc504e68a41b85ea29.zip tcl-ac64234d395ac3668392e5cc504e68a41b85ea29.tar.gz tcl-ac64234d395ac3668392e5cc504e68a41b85ea29.tar.bz2 |
First attempt to fix bug [d4e464ae48]: tcl 8.5.15/8.61 breaks python make check on darwin
FossilOrigin-Name: 4b277b8c24df98b6a6e6bfc4abcabbdec23c4533
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixNotfy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index ec721ca..f41ef68 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -202,7 +202,7 @@ static Tcl_ThreadId notifierThread; #ifdef TCL_THREADS static void NotifierThreadProc(ClientData clientData); -#ifdef HAVE_PTHREAD_ATFORK +#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__) static int atForkInit = 0; static void AtForkPrepare(void); static void AtForkParent(void); @@ -282,7 +282,7 @@ Tcl_InitNotifier(void) */ Tcl_MutexLock(¬ifierMutex); -#ifdef HAVE_PTHREAD_ATFORK +#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__) /* * Install pthread_atfork handlers to reinitialize the notifier in the * child of a fork. @@ -296,7 +296,7 @@ Tcl_InitNotifier(void) } atForkInit = 1; } -#endif +#endif /* HAVE_PTHREAD_ATFORK */ /* * Check if my process id changed, e.g. I was forked * In this case, restart the notifier thread and close the @@ -1273,7 +1273,7 @@ NotifierThreadProc( TclpThreadExit (0); } -#ifdef HAVE_PTHREAD_ATFORK +#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__) /* *---------------------------------------------------------------------- * |