summaryrefslogtreecommitdiff
path: root/test/cairo-test.h
diff options
context:
space:
mode:
authorJeff Muizelaar <jmuizelaar@mozilla.com>2009-02-09 23:39:38 -0500
committerJeff Muizelaar <jmuizelaar@mozilla.com>2009-02-09 23:39:38 -0500
commit50f8c2e4f3407ef237afd94c7317b1e185ccc9dc (patch)
tree16cd8cfe0597f08575f3086b8b2e4030be349d0b /test/cairo-test.h
parentdd9fc47418b86610d7896fcf585037c96beaa66f (diff)
downloadcairo-50f8c2e4f3407ef237afd94c7317b1e185ccc9dc.tar.gz
[test] define isnan() on MSVC
Needed for user-font-rescale.c
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r--test/cairo-test.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h
index a9dbf19ba..ac8856b3a 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>