From d92d5231ae094ae79d95463d54275a3527cf1c2d Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Tue, 5 Mar 2024 21:41:08 +1100 Subject: get us running on Mac again with our vendored GLFW --- src/empty.c | 5 +++++ src/resources/obj.c | 1 + src/std/str.h | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 src/empty.c (limited to 'src') diff --git a/src/empty.c b/src/empty.c new file mode 100644 index 0000000..d58a94f --- /dev/null +++ b/src/empty.c @@ -0,0 +1,5 @@ +// For some reason on Mac we need an empty file so that 'ar' has something +// to run. +int add(int a, int b) { + return a + b; +} \ No newline at end of file diff --git a/src/resources/obj.c b/src/resources/obj.c index 05aa96e..d56e212 100644 --- a/src/resources/obj.c +++ b/src/resources/obj.c @@ -11,6 +11,7 @@ #include #include "core.h" +#include "file.h" #include "darray.h" #include "log.h" #include "maths.h" diff --git a/src/std/str.h b/src/std/str.h index 9d30cba..518d508 100644 --- a/src/std/str.h +++ b/src/std/str.h @@ -10,6 +10,8 @@ */ #pragma once +#include + #include "defines.h" #include "mem.h" -- cgit v1.2.3-70-g09d2