Commit a44823b7 authored by Guido van Rossum's avatar Guido van Rossum

In NT, write fatal() msg to debugging device

parent 5049bcb1
......@@ -52,6 +52,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <SIOUX.h>
#endif
#ifdef NT
#undef BYTE
#include "windows.h"
#endif
extern char *getpythonpath();
extern grammar gram; /* From graminit.c */
......@@ -562,6 +567,11 @@ fatal(msg)
fprintf(stderr, "Fatal Python error: %s\n", msg);
#ifdef macintosh
for (;;);
#endif
#ifdef NT
OutputDebugString("Fatal Python error:");
OutputDebugString(msg);
OutputDebugString("\n");
#endif
abort();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment