Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 24071:8142f8d668a0 legacy-trunk
Patch #569753: Remove support for WIN16.
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sun, 30 Jun 2002 15:26:10 +0000 |
| parents | 4f335ca3f11c |
| children | 9456a2ccda61 |
comparison
equal
deleted
inserted
replaced
| 24070:b128255c2bea | 24071:8142f8d668a0 |
|---|---|
| 15 | 15 |
| 16 #ifdef HAVE_SIGNAL_H | 16 #ifdef HAVE_SIGNAL_H |
| 17 #include <signal.h> | 17 #include <signal.h> |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 #ifdef MS_WIN32 | 20 #ifdef MS_WINDOWS |
| 21 #undef BYTE | 21 #undef BYTE |
| 22 #include "windows.h" | 22 #include "windows.h" |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 #ifdef macintosh | 25 #ifdef macintosh |
| 1270 { | 1270 { |
| 1271 fprintf(stderr, "Fatal Python error: %s\n", msg); | 1271 fprintf(stderr, "Fatal Python error: %s\n", msg); |
| 1272 #ifdef macintosh | 1272 #ifdef macintosh |
| 1273 for (;;); | 1273 for (;;); |
| 1274 #endif | 1274 #endif |
| 1275 #ifdef MS_WIN32 | 1275 #ifdef MS_WINDOWS |
| 1276 OutputDebugString("Fatal Python error: "); | 1276 OutputDebugString("Fatal Python error: "); |
| 1277 OutputDebugString(msg); | 1277 OutputDebugString(msg); |
| 1278 OutputDebugString("\n"); | 1278 OutputDebugString("\n"); |
| 1279 #ifdef _DEBUG | 1279 #ifdef _DEBUG |
| 1280 DebugBreak(); | 1280 DebugBreak(); |
| 1281 #endif | 1281 #endif |
| 1282 #endif /* MS_WIN32 */ | 1282 #endif /* MS_WINDOWS */ |
| 1283 abort(); | 1283 abort(); |
| 1284 } | 1284 } |
| 1285 | 1285 |
| 1286 /* Clean up and exit */ | 1286 /* Clean up and exit */ |
| 1287 | 1287 |
