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