mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 01:40:07 +00:00
eb64b6d457
bits/xopen_lim.h (included by limits.h if __USE_XOPEN) defines NL_NMAX, but this constant was removed in the 2008 edition of POSIX so should not be defined in that case. This patch duly disables that define for __USE_XOPEN2K8. It remains enabled for __USE_GNU to avoid affecting sysconf (_SC_NL_NMAX), the implementation of which uses "#ifdef NL_NMAX". Tested for x86_64 and x86 (testsuite, and that installed stripped shared libraries are unchanged by the patch). [BZ #19929] * include/bits/xopen_lim.h (NL_NMAX): Do not define if [__USE_XOPEN2K8 && !__USE_GNU]. * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove variable. |
||
---|---|---|
.. | ||
cmathcalls.h | ||
dlfcn.h | ||
error.h | ||
fcntl2.h | ||
locale.h | ||
mathcalls.h | ||
poll2.h | ||
posix1_lim.h | ||
posix2_lim.h | ||
select2.h | ||
setjmp2.h | ||
socket2.h | ||
stab.def | ||
stdlib-float.h | ||
stdlib.h | ||
string2.h | ||
string3.h | ||
syslog.h | ||
unistd.h | ||
wchar2.h | ||
xopen_lim.h |