Re: Remove support for old names in runtime
[email protected] Mon, 29 Mar 2004 21:58:28 +0800
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <[email protected]> |
Thanks, committed. Luke ----- Original Message ----- Wrom: UWLSZLKBRNVWWCUFPEGAUTFJMVRESKPN To: <[email protected]> Sent: Monday, March 29, 2004 9:45 AM Subject: Re: [MinGW-patches] Remove support for old names in runtime > On Saturday 27 March 2004 21:24, Earnie Boyd wrote: > > > So we need to ``#define FP_* _FPCLASS_*'' in the header. Possibly even > > ``#define fpclass_t int''. Would that resolve the issue? > > It would resolve this particular issue yes. Patch attached. > > -Hans > > 2004-03-28 Hans Leidekker <hans-p/[email protected]> > > * include/math.h (FP_*): Add defines. > > ---------------------------------------------------------------------------- ---- > Index: include/math.h > =================================================================== > RCS file: /cvsroot/mingw/runtime/include/math.h,v > retrieving revision 1.16 > diff -u -r1.16 math.h > --- include/math.h 10 Oct 2003 15:02:04 -0000 1.16 > +++ include/math.h 28 Mar 2004 19:21:27 -0000 > @@ -233,6 +233,17 @@ > _CRTIMP int __cdecl finite (double); > _CRTIMP int __cdecl fpclass (double); > > +#define FP_SNAN _FPCLASS_SNAN > +#define FP_QNAN _FPCLASS_QNAN > +#define FP_NINF _FPCLASS_NINF > +#define FP_PINF _FPCLASS_PINF > +#define FP_NDENORM _FPCLASS_ND > +#define FP_PDENORM _FPCLASS_PD > +#define FP_NZERO _FPCLASS_NZ > +#define FP_PZERO _FPCLASS_PZ > +#define FP_NNORM _FPCLASS_NN > +#define FP_PNORM _FPCLASS_PN > + > #endif /* Not _NO_OLDNAMES */ > > #endif /* __STRICT_ANSI__ */ > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click