include isaac64 in xcode build

This commit is contained in:
nhmall
2019-02-24 14:35:49 -05:00
parent 1825f51c4f
commit 587a51bee7
2 changed files with 11 additions and 4 deletions

View File

@@ -135,8 +135,9 @@ panictrace_handler(sig_unused)
int sig_unused UNUSED;
{
#define SIG_MSG "\nSignal received.\n"
int f2 = (int) write(2, SIG_MSG, sizeof SIG_MSG - 1);
int f2;
f2 = (int) write(2, SIG_MSG, sizeof SIG_MSG - 1);
nhUse(f2); /* what could we do if write to fd#2 (stderr) fails */
NH_abort(); /* ... and we're already in the process of quitting? */
}