2000-10-04  Ulrich Drepper  <drepper@redhat.com>

	* argp/argp-help.c: Make sure we get the correct gettext and
	dgettext definitions.
	* argp/argp-parse.c: Likewise.
This commit is contained in:
Ulrich Drepper 2000-10-04 22:45:25 +00:00
parent d5fd1f3fd8
commit 883ba31595
3 changed files with 15 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2000-10-04 Ulrich Drepper <drepper@redhat.com>
* argp/argp-help.c: Make sure we get the correct gettext and
dgettext definitions.
* argp/argp-parse.c: Likewise.
2000-10-03 Ulrich Drepper <drepper@redhat.com>
* locale/programs/linereader.c (get_string): Also clear wide

View File

@ -55,7 +55,7 @@ char *alloca ();
#ifndef _
/* This is for other GNU distributions with internationalized messages. */
# ifdef HAVE_LIBINTL_H
# if defined HAVE_LIBINTL_H || defined _LIBC
# include <libintl.h>
# else
# define dgettext(domain, msgid) (msgid)

View File

@ -31,13 +31,15 @@
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#else
# define dgettext(domain, msgid) (msgid)
# define gettext(msgid) (msgid)
# if defined HAVE_LIBINTL_H || defined _LIBC
# include <libintl.h>
# else
# define dgettext(domain, msgid) (msgid)
# define gettext(msgid) (msgid)
# endif
#endif
#define N_(msgid) (msgid)
#ifndef N_
# define N_(msgid) (msgid)
#endif
#if _LIBC - 0