summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-01-19 12:16:44 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-01-19 12:16:44 (GMT)
commit5ef86d55b5b6f2ddb60e6df021684abda6c2cb16 (patch)
tree4eec40dc5a378eb33f46a7bee3c9954b34fb16e0 /Python
parentfebf811a2dc03e52b1b91205a8342e42b93ff482 (diff)
downloadcpython-5ef86d55b5b6f2ddb60e6df021684abda6c2cb16.zip
cpython-5ef86d55b5b6f2ddb60e6df021684abda6c2cb16.tar.gz
cpython-5ef86d55b5b6f2ddb60e6df021684abda6c2cb16.tar.bz2
Undef strerror on the mac before redefining it
Diffstat (limited to 'Python')
-rw-r--r--Python/errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 61cb448..6757842 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 */