INFINITE_P for Unixware 2.1
Roger Collins
roger@proproject.com
Wed Jan 24 07:44:00 GMT 2001
I'm trying to port gcc 3.0 to UnixWare 2.1. Is this fix valid? If so,
I think it should help svr4 platforms in general. How do I submit a
patch?
RCS file: /cvs/gcc/gcc/libstdc++-v3/libmath/mathconf.h,v
retrieving revision 1.4
diff -r1.4 mathconf.h
205c205,209
< # error "We need INFINITE_P"
---
> # ifdef HUGE_VAL
> # define INFINITE_P(X) ((X) == HUGE_VAL)
> # else
> # error "We need INFINITE_P"
> # endif
Roger
More information about the Libstdc++
mailing list