summaryrefslogtreecommitdiff
path: root/lib/muldc3.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-03 05:59:48 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-03 05:59:48 +0000
commit6c307f0ec927c9eb8bfcee8a4b7f7b8e12ef56be (patch)
tree854c1f23f0ba5d2f643a571d082d53cffdceff5c /lib/muldc3.c
parent880cafccfc68095d42cb61de71d1d31db330b705 (diff)
downloadcompiler-rt-6c307f0ec927c9eb8bfcee8a4b7f7b8e12ef56be.tar.gz
compiler-rt-6c307f0ec927c9eb8bfcee8a4b7f7b8e12ef56be.tar.bz2
compiler-rt-6c307f0ec927c9eb8bfcee8a4b7f7b8e12ef56be.tar.xz
Fix newlinew warning in floatundidf.c , Bulkout CMake system more, complete port to AuroraUX and Solaris.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@77958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/muldc3.c')
-rw-r--r--lib/muldc3.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/muldc3.c b/lib/muldc3.c
index b945e8e3..3549823c 100644
--- a/lib/muldc3.c
+++ b/lib/muldc3.c
@@ -15,6 +15,10 @@
#include <math.h>
#include <complex.h>
+#if !defined(INFINITY) && defined(HUGE_VAL)
+#define INFINITY HUGE_VAL
+#endif
+
// Returns: the product of a + ib and c + id
double _Complex