aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index e35690c..8e65a95 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -182,13 +182,8 @@ parse_number (pfile, start, olen)
else if (*p == '0')
base = 8;
- ULONG_MAX_over_base = (unsigned long) -1 / base;
-/* start-sanitize-mpw */
- /* Work around yet another MPW C bug. */
-#ifdef MPW_C
+ /* Some buggy compilers (e.g. MPW C) seem to need both casts. */
ULONG_MAX_over_base = ((unsigned long) -1) / ((unsigned long) base);
-#endif /* MPW_C */
-/* end-sanitize-mpw */
for (; len > 0; len--) {
c = *p++;