attempt to fix MS-DOS cross-compile

This commit is contained in:
nhmall
2024-03-07 15:50:05 -05:00
parent 23e39ee5f5
commit dbda2967cc
3 changed files with 9 additions and 2 deletions

View File

@@ -1898,8 +1898,10 @@ build_english_list(char *in)
void
NH_abort(char *why USED_FOR_CRASHREPORT)
{
#ifdef PANICTRACE
int gdb_prio = SYSOPT_PANICTRACE_GDB;
int libc_prio = SYSOPT_PANICTRACE_LIBC;
#endif
static volatile boolean aborting = FALSE;
/* don't execute this code recursively if a second abort is requested
@@ -1908,6 +1910,7 @@ NH_abort(char *why USED_FOR_CRASHREPORT)
return;
aborting = TRUE;
#ifdef PANICTRACE
#ifdef CRASHREPORT
if(!submit_web_report(1, "Panic", why))
#endif
@@ -1935,6 +1938,7 @@ NH_abort(char *why USED_FOR_CRASHREPORT)
#ifndef NO_SIGNAL
panictrace_setsignals(FALSE);
#endif
#endif /* PANICTRACE */
NH_abort_;
}
#undef USED_FOR_CRASHREPORT