[cairo-commit] test/cairo-test.h
Jeff Muizelaar
jrmuizel at kemper.freedesktop.org
Mon Feb 9 20:41:52 PST 2009
test/cairo-test.h | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 50f8c2e4f3407ef237afd94c7317b1e185ccc9dc
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date: Mon Feb 9 23:39:38 2009 -0500
[test] define isnan() on MSVC
Needed for user-font-rescale.c
diff --git a/test/cairo-test.h b/test/cairo-test.h
index a9dbf19..ac8856b 100644
--- a/test/cairo-test.h
+++ b/test/cairo-test.h
@@ -56,6 +56,10 @@ typedef unsigned __int64 uint64_t;
#ifdef _MSC_VER
#define _USE_MATH_DEFINES
+
+#include <float.h>
+#define isnan(x) _isnan(x)
+
#endif
#include <math.h>
More information about the cairo-commit
mailing list