From 666f9d362e1a95222c158d79cc948a438a9a5531 Mon Sep 17 00:00:00 2001 From: Akuli Date: Fri, 15 Dec 2023 01:30:06 +0200 Subject: [PATCH] run _macos_startup.jou --- self_hosted/main.jou | 3 +++ 1 file changed, 3 insertions(+) diff --git a/self_hosted/main.jou b/self_hosted/main.jou index 00bcfc36..3e29b028 100644 --- a/self_hosted/main.jou +++ b/self_hosted/main.jou @@ -175,6 +175,9 @@ class Compiler: if WINDOWS: self->automagic_files[1] = malloc(strlen(self->stdlib_path) + 40) sprintf(self->automagic_files[1], "%s/_windows_startup.jou", self->stdlib_path) + if MACOS: + self->automagic_files[1] = malloc(strlen(self->stdlib_path) + 40) + sprintf(self->automagic_files[1], "%s/_macos_startup.jou", self->stdlib_path) def parse_all_files(self) -> None: queue: ParseQueueItem* = malloc(50 * sizeof queue[0])