aboutsummaryrefslogtreecommitdiff
path: root/libgcc-math/dbl-64
diff options
context:
space:
mode:
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);