Fix compile on OSX by defining os_DebugBreak
This is an equivalent of the same functionality as per http://stackoverflow.com/a/5561015
This commit is contained in:
parent
97569a9f24
commit
3f2f400c59
|
@ -507,7 +507,13 @@ using namespace std;
|
|||
#define VER_FULLNAME VER_EMUNAME " rel0" _X_x_X_MMU_VER_STR " (built " __DATE__ "@" __TIME__ ")"
|
||||
#define VER_SHORTNAME VER_EMUNAME " rel0" _X_x_X_MMU_VER_STR
|
||||
|
||||
#if HOST_OS == OS_DARWIN
|
||||
void os_DebugBreak() {
|
||||
raise(SIGTRAP);
|
||||
}
|
||||
#else
|
||||
void os_DebugBreak();
|
||||
#endif
|
||||
#define dbgbreak os_DebugBreak()
|
||||
|
||||
#if COMPILER_VC==BUILD_COMPILER
|
||||
|
|
Loading…
Reference in New Issue