aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1995-05-11 19:18:36 -0700
committerPer Bothner <bothner@gcc.gnu.org>1995-05-11 19:18:36 -0700
commit8f4686fad562f43e21804ac20d8096d62c36b4c6 (patch)
tree8ab0939bd9da094bc675a70f0a0159bcd79533ed /gcc/cppexp.c
parent1aa8bf84f9648d85ef0e498deddc5a73e52e639d (diff)
downloadgcc-8f4686fad562f43e21804ac20d8096d62c36b4c6.zip
gcc-8f4686fad562f43e21804ac20d8096d62c36b4c6.tar.gz
gcc-8f4686fad562f43e21804ac20d8096d62c36b4c6.tar.bz2
* cppexp.c (parse_number): Cleanup some Cygnus crud for MPW.
From-SVN: r9634
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++;