]> git.ipfire.org Git - thirdparty/glibc.git/commit
Include sys/param.h in stdlib/gmp-impl.h instead of redefining MAX/MIN
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Fri, 26 May 2017 22:29:20 +0000 (19:29 -0300)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Thu, 1 Jun 2017 23:44:22 +0000 (20:44 -0300)
commit09103e40252454e906a0b8543a142fc96b4c17c1
tree81053ef42965eb802105c51c7cdf9ed860e0511c
parent6da85a0daf65a407f942622e23fc20b37b80168c
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.
ChangeLog
stdlib/gmp-impl.h