[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] wrote:
> What about defining isinf as macro? > > diff --git a/include/wine/port.h b/include/wine/port.h index > 6727891..59c12aa 100644 > --- a/include/wine/port.h > +++ b/include/wine/port.h > @@ -146,6 +146,11 @@ struct statvfs > #define strtoull _strtoui64 > #endif > > +#if !defined(HAVE_ISINF) && defined(HAVE_IEEEFP_H) #include <ieeefp.h> > +#define isinf(x) (!(finite(x) || isnand(x))) #endif > + > #ifndef S_ISLNK > # define S_ISLNK(mod) (0) > #endif With the exception of the somewhat weird line wrapping (or better lack thereof) this looks like what I had in mind. I don't see the benefit of adding something simple like this into libwine_port. But of course it's Alexandre's call. Rolf Kalbermatter
