diff options
Diffstat (limited to 'compiler-rt/lib/divsc3.c')
-rw-r--r-- | compiler-rt/lib/divsc3.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/divsc3.c b/compiler-rt/lib/divsc3.c index bea15cdc4e0..f2529970c28 100644 --- a/compiler-rt/lib/divsc3.c +++ b/compiler-rt/lib/divsc3.c @@ -15,6 +15,10 @@ #include <math.h> #include <complex.h> +#if !defined(INFINITY) && defined(HUGE_VAL) +#define INFINITY HUGE_VAL +#endif + // Returns: the quotient of (a + ib) / (c + id) float _Complex |