summaryrefslogtreecommitdiffstats
path: root/src/lib9/argv0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9/argv0.c')
-rw-r--r--src/lib9/argv0.c5
1 files changed, 5 insertions, 0 deletions
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) { }