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/lib9/argv0.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib9/argv0.c') diff --git a/src/lib9/argv0.c b/src/lib9/argv0.c index 2c846f4d..4c61f444 100644 --- a/src/lib9/argv0.c +++ b/src/lib9/argv0.c @@ -2,3 +2,8 @@ char *argv0; +/* + * Mac OS can't deal with files that only declare data. + * ARGBEGIN mentions this function so that this file gets pulled in. + */ +void __fixargv0(void) { } -- cgit v1.2.3