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 */
# define IS_LINUX
# define CALL_CONVENTION
# elif defined(__APPLE__) && defined(__MACH__) /* OS */
# define IS_MAC
# define CALL_CONVENTION
#else
# error This compiler/platform combo is not supported yet
# endif

View File

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