From: Jack Jansen Date: Wed, 14 Dec 1994 12:54:54 +0000 (+0000) Subject: Added hook for better mac error messages. X-Git-Tag: v1.2b1~123 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8fd2d94e37a987143e464fc4cfcd62d0930b313c;p=thirdparty%2FPython%2Fcpython.git Added hook for better mac error messages. --- diff --git a/Python/errors.c b/Python/errors.c index 781710896c55..bb3b605a819b 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -60,6 +60,16 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include +#ifdef macintosh +/* +** For the mac, there's a function macstrerror in macosmodule.c. We can't +** call it strerror(), though, since that is already defined (for Think C) +** in ANSI +*/ +#define strerror macstrerror +#include "macdefs.h" /* For CW to find EINTR */ +#endif /* macintosh */ + extern char *strerror PROTO((int)); /* Last exception stored by err_setval() */