summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-01-19 12:16:44 +0000
committerJack Jansen <jack.jansen@cwi.nl>1995-01-19 12:16:44 +0000
commitbb9dbbc4279cce9d2f6498bc4cf2cfcfc28952dd (patch)
tree54abfa75c17e3a2d987de839cbecbfd95bc51f85 /Python/errors.c
parent0b6d63f0c85961828247f6350bda3a08fe550a7e (diff)
downloadcpython-bb9dbbc4279cce9d2f6498bc4cf2cfcfc28952dd.tar.gz
Undef strerror on the mac before redefining it
Diffstat (limited to 'Python/errors.c')
-rw-r--r--Python/errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 61cb448e71..675784230a 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 */