mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Getting rid of support for the ancient Apple MPW compiler.
This commit is contained in:
parent
6196322066
commit
fb2765666f
10 changed files with 0 additions and 80 deletions
|
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue