summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTest.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-08-05 21:58:21 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-08-05 21:58:21 (GMT)
commitd03f6f7977bc550e014fdc05f02bbe5cb4c9e127 (patch)
treea5f2819e737003d38974d2a6dd95170c034a28f1 /unix/tclUnixTest.c
parent3d101e858362a6016a341a95e41580f081242605 (diff)
downloadtcl-d03f6f7977bc550e014fdc05f02bbe5cb4c9e127.zip
tcl-d03f6f7977bc550e014fdc05f02bbe5cb4c9e127.tar.gz
tcl-d03f6f7977bc550e014fdc05f02bbe5cb4c9e127.tar.bz2
Mark unixforkevent-1.1 nonPortable, until proven on more platforms.
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 2fc1647..d2b729d 100644
--- a/unix/tclUnixTest.c
+++ b/unix/tclUnixTest.c
@@ -574,8 +574,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();
}