mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 19:18:12 +02:00
[test] Fallback to HUGE_VAL in place of INFINITY in invalid-matrix.c.
GCC 3.4.3 on OpenSolaris does not recognise INFINITY. Use HUGE_VAL instead for every compiler instead of just MSVC.
This commit is contained in:
parent
d1994d1ac2
commit
75f1d11d93
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "cairo-test.h"
|
||||
|
||||
#if !defined(INFINITY) && defined(_MSC_VER)
|
||||
#if !defined(INFINITY)
|
||||
#define INFINITY HUGE_VAL
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue