From d02f9158d0b579ea3b15616c3c952218d3ec8744 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Sat, 9 Sep 2017 19:51:11 -0400 Subject: [PATCH] setting up Mac to work in the new partially cleaned up platform layer --- platform_mac/mac_4ed.cpp | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/platform_mac/mac_4ed.cpp b/platform_mac/mac_4ed.cpp index ddccde95..b49fada1 100644 --- a/platform_mac/mac_4ed.cpp +++ b/platform_mac/mac_4ed.cpp @@ -21,7 +21,6 @@ # include "4coder_API/style.h" # define FSTRING_IMPLEMENTATION -# define FSTRING_C # include "4coder_lib/4coder_string.h" # include "4coder_lib/4coder_mem.h" @@ -43,8 +42,35 @@ #include "4ed_font_interface_to_os.h" #include "4ed_system_shared.h" +#include "unix_4ed_headers.h" #include +//////////////////////////////// + +#define SLASH '/' +#define DLL "so" + +global System_Functions sysfunc; +#include "4ed_shared_library_constants.h" +#include "mac_library_wrapper.h" +#include "4ed_standard_libraries.cpp" + +#include "4ed_coroutine.cpp" + +//////////////////////////////// + +global Render_Target target; +global Application_Memory memory_vars; +global Plat_Settings plat_settings; + +global Libraries libraries; +global App_Functions app; +global Custom_API custom_api; + +global Coroutine_System_Auto_Alloc coroutines; + +//////////////////////////////// + #include "unix_4ed_functions.cpp" #include "osx_objective_c_to_cpp_links.h"