aboutsummaryrefslogtreecommitdiff
path: root/libgcc-math/dbl-64
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-02-08 10:05:30 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2006-02-08 10:05:30 +0000
commitfd97e465118551f4573fe485480b31a44a67c976 (patch)
treee860d869294023c6926dda0de529cddd4a676cbc /libgcc-math/dbl-64
parentd55f9d230f0c8734abdee29d1cb2325ac409cc7b (diff)
downloadgcc-fd97e465118551f4573fe485480b31a44a67c976.zip
gcc-fd97e465118551f4573fe485480b31a44a67c976.tar.gz
gcc-fd97e465118551f4573fe485480b31a44a67c976.tar.bz2
mpa.c: Do not include sys/param.h.
2006-02-08 Richard Guenther <rguenther@suse.de> * dbl-64/mpa.c: Do not include sys/param.h. * dbl-64/mpa.h (MIN): Define. From-SVN: r110745
Diffstat (limited to 'libgcc-math/dbl-64')
-rw-r--r--libgcc-math/dbl-64/mpa.c2
-rw-r--r--libgcc-math/dbl-64/mpa.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/libgcc-math/dbl-64/mpa.c b/libgcc-math/dbl-64/mpa.c
index 68647ba..85d9647 100644
--- a/libgcc-math/dbl-64/mpa.c
+++ b/libgcc-math/dbl-64/mpa.c
@@ -47,7 +47,7 @@
#include "endian.h"
#include "mpa.h"
#include "mpa2.h"
-#include <sys/param.h> /* For MIN() */
+
/* mcr() compares the sizes of the mantissas of two multiple precision */
/* numbers. Mantissas are compared regardless of the signs of the */
/* numbers, even if x->d[0] or y->d[0] are zero. Exponents are also */
diff --git a/libgcc-math/dbl-64/mpa.h b/libgcc-math/dbl-64/mpa.h
index 912b5e4..14a446b 100644
--- a/libgcc-math/dbl-64/mpa.h
+++ b/libgcc-math/dbl-64/mpa.h
@@ -66,6 +66,7 @@ typedef union { int i[2]; double d; } number;
#define EZ z->e
#define ABS(x) ((x) < 0 ? -(x) : (x))
+#define MIN(a,b) (((a)<(b))?(a):(b))
int __acr(const mp_no *, const mp_no *, int);
int __cr(const mp_no *, const mp_no *, int);