4coder/platform_mac/mac_error_box.cpp

22 lines
258 B
C++
Raw Normal View History

/*
* Mr. 4th Dimention - Allen Webster
*
* 26.09.2017
*
* Mac error box implementation.
*
*/
// TOP
internal void
2017-11-10 21:13:02 +00:00
system_error_box(char *msg, b32 shutdown = true){
2017-11-10 21:21:57 +00:00
osx_error_dialogue(msg);
2017-11-10 21:13:02 +00:00
if (shutdown){
exit(1);
}
}
// BOTTOM