From 38d46b2dda0243cfa60bc6945859ebd587e0a851 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Mon, 27 Jun 2022 17:45:44 -0400 Subject: Update MacOS to compile w/ Boost MacOS seems to rely on an older/different C++ stdlib than Windows or Linux. So replacing those with Boost equivalents. Mostly contained to the Resources thankfully! --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index c8d7b2d..38208ec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,6 +58,9 @@ int main(int argc, char **argv) { #endif // __linux__ #ifdef _WIN32 Resources *res = new WindowsResources(); +#endif +#ifdef __APPLE__ + Resources *res = new MacResources(); #endif res->loadDefaultLuaFile(); res->loadFontFiles(); -- cgit v1.2.3-54-g00ecf