Re: Remove support for old names in runtime
Hans Leidekker <hans-p/[email protected]> Sun, 28 Mar 2004 20:45:44 -0500
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Organization | VU Amsterdam - Dienst IT |
| Message-ID | <[email protected]> |
--Boundary-00=_I/3ZAm0NXnVtw+Q Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. --Boundary-00=_I/3ZAm0NXnVtw+Q Content-Type: text/x-diff; charset="iso-8859-1"; name="mingw_runtime_include_math_h.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mingw_runtime_include_math_h.diff" 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__ */ --Boundary-00=_I/3ZAm0NXnVtw+Q-- ------------------------------------------------------- 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