mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Include sys/param.h in stdlib/gmp-impl.h instead of redefining MAX/MIN
In stdlib/gmp-impl.h, the macros MAX and MIN are defined exactly the same as in sys/param.h. This patch removes the redefinition and makes gmp-impl.h include sys/param.h instead. Tested for powerpc64le and s390x. * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the macros MAX and MIN.
This commit is contained in:
parent
6da85a0daf
commit
09103e4025
@ -1,3 +1,8 @@
|
||||
2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
|
||||
|
||||
* stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
|
||||
macros MAX and MIN.
|
||||
|
||||
2017-06-01 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* conform/data/signal.h-data (sa_sigaction): Do not expect for
|
||||
|
@ -64,12 +64,8 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, see
|
||||
#define inline /* Empty */
|
||||
#endif
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(l,o) ((l) < (o) ? (l) : (o))
|
||||
#endif
|
||||
#ifndef MAX
|
||||
#define MAX(h,i) ((h) > (i) ? (h) : (i))
|
||||
#endif
|
||||
/* Get MAX/MIN macros. */
|
||||
#include <sys/param.h>
|
||||
|
||||
/* Field access macros. */
|
||||
#define SIZ(x) ((x)->_mp_size)
|
||||
|
Loading…
Reference in New Issue
Block a user