Joseph Myers eb64b6d457 Fix limits.h NL_NMAX namespace (bug 19929).
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.
2016-04-08 22:52:51 +00:00
..
2012-01-07 23:57:22 -05:00
2015-02-24 13:29:40 -05:00
2012-05-24 23:08:18 +02:00
2014-11-24 15:03:45 +05:30
2013-09-04 20:47:21 +00:00
2015-10-15 14:15:41 -07:00
2015-10-15 14:13:50 -07:00
2012-11-21 06:33:19 -08:00
2014-11-24 15:03:45 +05:30
2012-01-07 23:57:22 -05:00
2015-09-15 20:36:50 +00:00
2004-03-09 10:36:53 +00:00
2004-03-09 10:36:53 +00:00
2009-04-23 18:29:30 +00:00
2014-11-24 11:41:44 +05:30
2012-05-24 23:08:18 +02:00
2012-05-31 13:10:02 +02:00
2015-06-12 10:10:18 +00:00
2004-10-24 21:29:41 +00:00
2014-11-24 15:03:45 +05:30
2015-10-15 14:22:25 -07:00
2012-01-07 23:57:22 -05:00
2015-07-09 15:32:32 -07:00
2015-06-17 20:21:19 +00:00
2012-01-07 23:57:22 -05:00