Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 4291:1427d61f1307 legacy-trunk
Rationalized MS ifdefs
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 11 Sep 1996 23:12:24 +0000 |
| parents | 0b0c4ed1936a |
| children | 65d2d8e67da3 |
comparison
equal
deleted
inserted
replaced
| 4290:9c6eab0cf542 | 4291:1427d61f1307 |
|---|---|
| 42 | 42 |
| 43 #ifdef HAVE_SIGNAL_H | 43 #ifdef HAVE_SIGNAL_H |
| 44 #include <signal.h> | 44 #include <signal.h> |
| 45 #endif | 45 #endif |
| 46 | 46 |
| 47 #ifdef NT | 47 #ifdef MS_WIN32 |
| 48 #undef BYTE | 48 #undef BYTE |
| 49 #undef arglist | 49 #undef arglist |
| 50 #include "windows.h" | 50 #include "windows.h" |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 560 { | 560 { |
| 561 fprintf(stderr, "Fatal Python error: %s\n", msg); | 561 fprintf(stderr, "Fatal Python error: %s\n", msg); |
| 562 #ifdef macintosh | 562 #ifdef macintosh |
| 563 for (;;); | 563 for (;;); |
| 564 #endif | 564 #endif |
| 565 #ifdef NT | 565 #ifdef MS_WIN32 |
| 566 OutputDebugString("Fatal Python error:"); | 566 OutputDebugString("Fatal Python error:"); |
| 567 OutputDebugString(msg); | 567 OutputDebugString(msg); |
| 568 OutputDebugString("\n"); | 568 OutputDebugString("\n"); |
| 569 #endif | 569 #endif |
| 570 abort(); | 570 abort(); |
