diff options
author | Richard Guenther <rguenther@suse.de> | 2006-02-08 10:05:30 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-02-08 10:05:30 +0000 |
commit | fd97e465118551f4573fe485480b31a44a67c976 (patch) | |
tree | e860d869294023c6926dda0de529cddd4a676cbc /libgcc-math/dbl-64 | |
parent | d55f9d230f0c8734abdee29d1cb2325ac409cc7b (diff) | |
download | gcc-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.c | 2 | ||||
-rw-r--r-- | libgcc-math/dbl-64/mpa.h | 1 |
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); |