#if defined( sgi )
#include <sys/fpu.h>
#include <sys/sysmp.h>
+#include <unistd.h>
/*
* set the special "flush zero" bit (FS, bit 24) in the Control Status
// We must use cerr rather than
// logging, since logging may be
// disabled.
- cerr << "Fatal error: " << t.getFormattedMessage()
- << "\n (received from " << t.getOrigin() << ')' << endl;
+ cerr << "Fatal error: " << t.getFormattedMessage() << endl;
+ if (!t.getOrigin().empty())
+ cerr << " (received from " << t.getOrigin() << ')' << endl;
+
} catch (...) {
cerr << "Unknown exception in the main loop. Aborting..." << endl;
perror("Possible cause");
if (_bootstrap_OSInit != 0)
fgSetMouseCursor(MOUSE_CURSOR_POINTER);
- if (globals)
- delete globals;
+ delete globals;
}