diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-02-09 23:39:38 -0500 |
---|---|---|
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-02-09 23:39:38 -0500 |
commit | 50f8c2e4f3407ef237afd94c7317b1e185ccc9dc (patch) | |
tree | 16cd8cfe0597f08575f3086b8b2e4030be349d0b /test/cairo-test.h | |
parent | dd9fc47418b86610d7896fcf585037c96beaa66f (diff) | |
download | cairo-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.h | 4 |
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> |