From e3f1b57821e89cf8898301c64f47ab51cb01ef7b Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Tue, 18 Jul 2017 20:23:38 -0400 Subject: [PATCH] fixed sysfuncs ordering for linux --- platform_linux/linux_4ed.cpp | 2 +- platform_win32/win32_4ed.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform_linux/linux_4ed.cpp b/platform_linux/linux_4ed.cpp index 69cdca09..ed9ef111 100644 --- a/platform_linux/linux_4ed.cpp +++ b/platform_linux/linux_4ed.cpp @@ -122,6 +122,7 @@ internal void LinuxStringDup(String*, void*, size_t); //////////////////////////////// +global System_Functions sysfunc; #include "linux_4ed_libraries.cpp" #include "4ed_standard_libraries.cpp" @@ -192,7 +193,6 @@ struct Linux_Vars{ global Linux_Vars linuxvars; global Render_Target target; -global System_Functions sysfunc; global Application_Memory memory_vars; global Plat_Settings plat_settings; global App_Functions app; diff --git a/platform_win32/win32_4ed.cpp b/platform_win32/win32_4ed.cpp index 4e956334..e35d9d8d 100644 --- a/platform_win32/win32_4ed.cpp +++ b/platform_win32/win32_4ed.cpp @@ -113,6 +113,7 @@ struct Win32_Coroutine{ //////////////////////////////// +global System_Functions sysfunc; #include "win32_4ed_libraries.cpp" #include "4ed_standard_libraries.cpp" @@ -159,7 +160,6 @@ struct Win32_Vars{ global Win32_Vars win32vars; global Render_Target target; -global System_Functions sysfunc; global Application_Memory memory_vars; global Plat_Settings plat_settings;