From a995e477ffb4dd1184da87e9e46a9e57f3178c63 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 1 Oct 2003 02:50:57 +0000 Subject: Various tweaks to make things run on Mac OS. The main change is the use of pthread to implement ffork. --- src/libthread/getpid.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libthread/getpid.c') diff --git a/src/libthread/getpid.c b/src/libthread/getpid.c index da03bd3f..c4d23dad 100644 --- a/src/libthread/getpid.c +++ b/src/libthread/getpid.c @@ -1,8 +1,7 @@ #include "threadimpl.h" -#include - +extern int getfforkid(void); int _threadgetpid(void) { - return getpid(); + return getfforkid(); } -- cgit v1.2.3