Mercurial > cpython-lru_cache-weakref
comparison Python/errors.c @ 30979:86fdf8fe7f17 legacy-trunk
Getting rid of all the code inside #ifdef macintosh too.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 20 Nov 2003 01:44:59 +0000 |
| parents | 74747f62f286 |
| children | 846b3ee7e106 |
comparison
equal
deleted
inserted
replaced
| 30978:4c8160088b34 | 30979:86fdf8fe7f17 |
|---|---|
| 1 | 1 |
| 2 /* Error handling */ | 2 /* Error handling */ |
| 3 | 3 |
| 4 #include "Python.h" | 4 #include "Python.h" |
| 5 | |
| 6 #ifdef macintosh | |
| 7 extern char *PyMac_StrError(int); | |
| 8 #undef strerror | |
| 9 #define strerror PyMac_StrError | |
| 10 #endif /* macintosh */ | |
| 11 | 5 |
| 12 #ifndef __STDC__ | 6 #ifndef __STDC__ |
| 13 #ifndef MS_WINDOWS | 7 #ifndef MS_WINDOWS |
| 14 extern char *strerror(int); | 8 extern char *strerror(int); |
| 15 #endif | 9 #endif |
