Mercurial > cpython-lru_cache-weakref
comparison Python/errors.c @ 2190:b40e10bda231 legacy-trunk
Undef strerror on the mac before redefining it
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 19 Jan 1995 12:16:44 +0000 |
| parents | d0d0a69b5ca3 |
| children | c31eaed7798b |
comparison
equal
deleted
inserted
replaced
| 2189:d59568381447 | 2190:b40e10bda231 |
|---|---|
| 65 /* | 65 /* |
| 66 ** For the mac, there's a function macstrerror in macosmodule.c. We can't | 66 ** For the mac, there's a function macstrerror in macosmodule.c. We can't |
| 67 ** call it strerror(), though, since that is already defined (for Think C) | 67 ** call it strerror(), though, since that is already defined (for Think C) |
| 68 ** in ANSI | 68 ** in ANSI |
| 69 */ | 69 */ |
| 70 #undef strerror | |
| 70 #define strerror macstrerror | 71 #define strerror macstrerror |
| 71 #include "macdefs.h" /* For CW to find EINTR */ | 72 #include "macdefs.h" /* For CW to find EINTR */ |
| 72 #endif /* !macintosh */ | 73 #endif /* !macintosh */ |
| 73 extern char *strerror PROTO((int)); | 74 extern char *strerror PROTO((int)); |
| 74 #endif /* !NT */ | 75 #endif /* !NT */ |
