[test] Fix the definition of INFINITY

In my defence, even with INFINITY as 0, I was seeing new asserts on win32.
Caught by Jeremy Lea.
This commit is contained in:
Jeff Muizelaar 2009-02-05 16:46:50 -05:00
parent 83ec4b16b7
commit af5ca7249f

View file

@ -30,7 +30,7 @@
#include "cairo-test.h"
#if defined(HAVE_IEEE754) && !defined(INFINITY)
#define INFINITY (0./1.)
#define INFINITY (1./0.)
#endif
#if HAVE_FEDISABLEEXCEPT