summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-08-14 14:40:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-08-14 14:40:40 (GMT)
commitcab7c54e3a637b30945b8943f8498dee1766f0d8 (patch)
tree94e91ae3890b4925326560afe5560319949c4c6d /unix/tclUnixTest.c
parentf218f909ad2c669b52d99149394fa31722d43926 (diff)
parent211f7d6466a579c60c2cf2445507c87485ef6158 (diff)
downloadtcl-cab7c54e3a637b30945b8943f8498dee1766f0d8.zip
tcl-cab7c54e3a637b30945b8943f8498dee1766f0d8.tar.gz
tcl-cab7c54e3a637b30945b8943f8498dee1766f0d8.tar.bz2
merge trunk
Diffstat (limited to 'unix/tclUnixTest.c')
-rw-r--r--unix/tclUnixTest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixTest.c b/unix/tclUnixTest.c
index 0d5b683..021e0f6 100644
--- a/unix/tclUnixTest.c
+++ b/unix/tclUnixTest.c
@@ -572,8 +572,8 @@ TestforkObjCmd(
"Cannot fork", NULL);
return TCL_ERROR;
}
-#ifndef HAVE_PTHREAD_ATFORK
- /* Only needed when pthread_atfork is not present. */
+#if !defined(HAVE_PTHREAD_ATFORK) || defined(MAC_OSX_TCL)
+ /* Only needed when pthread_atfork is not present or on OSX. */
if (pid==0) {
Tcl_InitNotifier();
}