Trouble in compiling Wine 0.9.57 and 0.9.58 on Solaris 10 08/07
r.kalbermatter at hccnet.nl
Fri Apr 18 15:15:56 CDT 2008
Petr.Sumbera at Sun.COM [mailto:Petr.Sumbera at Sun.COM] 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
> +#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)
With the exception of the somewhat weird line wrapping (or better lack
this looks like what I had in mind. I don't see the benefit of adding
simple like this into libwine_port.
But of course it's Alexandre's call.
More information about the wine-devel