various build errors on Linux and Mac
This commit is contained in:
parent
e43390a6c0
commit
539f107250
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue