diff options
author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-08-03 05:59:48 +0000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-08-03 05:59:48 +0000 |
commit | 7578f80b0cb8c99853a7937b82959d470643a3c1 (patch) | |
tree | 5e097f9dead44f7c03389806d3a6c012ca0e470e /compiler-rt/lib/divsc3.c | |
parent | f0e2ea2869a64c533ea639e8ea322c16c54f0d48 (diff) | |
download | bcm5719-llvm-7578f80b0cb8c99853a7937b82959d470643a3c1.tar.gz bcm5719-llvm-7578f80b0cb8c99853a7937b82959d470643a3c1.zip |
Fix newlinew warning in floatundidf.c , Bulkout CMake system more, complete port to AuroraUX and Solaris.
llvm-svn: 77958
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 |