summaryrefslogtreecommitdiff
path: root/Python/mystrtoul.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 +0000
commite34f184cf8f15384ead96d31f53ae8ab83e328e5 (patch)
tree78e9990e5b905c9710b8d61202cc2ce7f2c6600a /Python/mystrtoul.c
parent1f208bf24cd36ad108eac3a91ee2b163e501ecf8 (diff)
downloadcpython-e34f184cf8f15384ead96d31f53ae8ab83e328e5.tar.gz
Getting rid of support for the ancient Apple MPW compiler.
Diffstat (limited to 'Python/mystrtoul.c')
-rw-r--r--Python/mystrtoul.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c
index db98d2b31a..8e60c0c072 100644
--- a/Python/mystrtoul.c
+++ b/Python/mystrtoul.c
@@ -100,7 +100,6 @@ PyOS_strtoul(register char *str, char **ptr, int base)
}
temp = result;
result = result * base + c;
-#ifndef MPW
if(base == 10) {
if(((long)(result - c) / base != (long)temp)) /* overflow */
ovf = 1;
@@ -109,7 +108,6 @@ PyOS_strtoul(register char *str, char **ptr, int base)
if ((result - c) / base != temp) /* overflow */
ovf = 1;
}
-#endif
str++;
}