[cairo] [cairo-commit] test/cairo-test.h test/invalid-matrix.c test/user-font-rescale.c
Jeff Muizelaar
jeff at infidigm.net
Thu Feb 12 08:48:52 PST 2009
On Wed, Feb 11, 2009 at 03:32:15PM -0800, Jeremy Lea wrote:
> Would this help?
>
> #if defined(_MSC_VER)
> #include <ymath.h>
> #endif
>
> #if defined(_MSC_VER)
> #define isnan(x) _isnan(x)
> #define isfinite(x) _finite(x)
> #if _MSC_VER > 1200
> #define INFINITY _Inf._Double
> #define NAN _Nan._Double
> #else
> #define INFINITY _Inf._D
> #define NAN _Nan._D
> #endif
> #endif
Yeah, thanks. I'll switch it to something like that when I get the
chance.
-Jeff
More information about the cairo
mailing list