various build errors on Linux and Mac

master
Allen Webster 2017-11-10 16:21:57 -05:00
parent e43390a6c0
commit 539f107250
2 changed files with 3 additions and 1 deletions

View File

@ -44,8 +44,10 @@
# if defined(__gnu_linux__) /* OS */ # if defined(__gnu_linux__) /* OS */
# define IS_LINUX # define IS_LINUX
# define CALL_CONVENTION
# elif defined(__APPLE__) && defined(__MACH__) /* OS */ # elif defined(__APPLE__) && defined(__MACH__) /* OS */
# define IS_MAC # define IS_MAC
# define CALL_CONVENTION
#else #else
# error This compiler/platform combo is not supported yet # error This compiler/platform combo is not supported yet
# endif # endif

View File

@ -11,7 +11,7 @@
internal void internal void
system_error_box(char *msg, b32 shutdown = true){ system_error_box(char *msg, b32 shutdown = true){
osx2_error_dialogue(msg); osx_error_dialogue(msg);
if (shutdown){ if (shutdown){
exit(1); exit(1);
} }