]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Undef strerror on the mac before redefining it
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 19 Jan 1995 12:16:44 +0000 (12:16 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 19 Jan 1995 12:16:44 +0000 (12:16 +0000)
Python/errors.c

index 61cb448e71be75c66b370b94caa7426d64b8e2db..675784230a388d602cca8d8d8e8bc121c0e61dd3 100644 (file)
@@ -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 */