mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 15:48:00 +02:00
[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:
parent
83ec4b16b7
commit
af5ca7249f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue