mirror of git://sourceware.org/git/glibc.git
Update.
* locale/langinfo.h: Correct logic in #ifs when defining YESSTR and NOSTR.
This commit is contained in:
parent
3e154a6f93
commit
d0376ea799
|
|
@ -1,5 +1,8 @@
|
||||||
2001-01-26 Ulrich Drepper <drepper@redhat.com>
|
2001-01-26 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* locale/langinfo.h: Correct logic in #ifs when defining YESSTR
|
||||||
|
and NOSTR.
|
||||||
|
|
||||||
* locale/Makefile (headers): Add bits/locale.h.
|
* locale/Makefile (headers): Add bits/locale.h.
|
||||||
* locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
|
* locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
|
||||||
and use __LC_ constants instead of LC_.
|
and use __LC_ constants instead of LC_.
|
||||||
|
|
|
||||||
|
|
@ -488,11 +488,11 @@ enum
|
||||||
__NOEXPR, /* Regex matching ``no'' input. */
|
__NOEXPR, /* Regex matching ``no'' input. */
|
||||||
#define NOEXPR __NOEXPR
|
#define NOEXPR __NOEXPR
|
||||||
__YESSTR, /* Output string for ``yes''. */
|
__YESSTR, /* Output string for ``yes''. */
|
||||||
#if defined __USE_GNU || (defined __USE_XOPEN || !defined __USE_XOPEN2K)
|
#if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
|
||||||
# define YESSTR __YESSTR
|
# define YESSTR __YESSTR
|
||||||
#endif
|
#endif
|
||||||
__NOSTR, /* Output string for ``no''. */
|
__NOSTR, /* Output string for ``no''. */
|
||||||
#if defined __USE_GNU || (defined __USE_XOPEN || !defined __USE_XOPEN2K)
|
#if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
|
||||||
# define NOSTR __NOSTR
|
# define NOSTR __NOSTR
|
||||||
#endif
|
#endif
|
||||||
_NL_NUM_LC_MESSAGES,
|
_NL_NUM_LC_MESSAGES,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue