Commit fd97e465 by Richard Guenther Committed by Richard Biener

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
parent d55f9d23
2006-02-08 Richard Guenther <rguenther@suse.de>
* dbl-64/mpa.c: Do not include sys/param.h.
* dbl-64/mpa.h (MIN): Define.
2006-02-07 Richard Guenther <rguenther@suse.de> 2006-02-07 Richard Guenther <rguenther@suse.de>
PR bootstrap/26050 PR bootstrap/26050
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#include "endian.h" #include "endian.h"
#include "mpa.h" #include "mpa.h"
#include "mpa2.h" #include "mpa2.h"
#include <sys/param.h> /* For MIN() */
/* mcr() compares the sizes of the mantissas of two multiple precision */ /* mcr() compares the sizes of the mantissas of two multiple precision */
/* numbers. Mantissas are compared regardless of the signs of the */ /* 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 */ /* numbers, even if x->d[0] or y->d[0] are zero. Exponents are also */
......
...@@ -66,6 +66,7 @@ typedef union { int i[2]; double d; } number; ...@@ -66,6 +66,7 @@ typedef union { int i[2]; double d; } number;
#define EZ z->e #define EZ z->e
#define ABS(x) ((x) < 0 ? -(x) : (x)) #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 __acr(const mp_no *, const mp_no *, int);
int __cr(const mp_no *, const mp_no *, int); int __cr(const mp_no *, const mp_no *, int);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment