From: Jack Jansen Date: Thu, 19 Jan 1995 12:16:44 +0000 (+0000) Subject: Undef strerror on the mac before redefining it X-Git-Tag: v1.2b3~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ef86d55b5b6f2ddb60e6df021684abda6c2cb16;p=thirdparty%2FPython%2Fcpython.git Undef strerror on the mac before redefining it --- diff --git a/Python/errors.c b/Python/errors.c index 61cb448e71be..675784230a38 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -67,6 +67,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ** call it strerror(), though, since that is already defined (for Think C) ** in ANSI */ +#undef strerror #define strerror macstrerror #include "macdefs.h" /* For CW to find EINTR */ #endif /* !macintosh */