From 9d9160ee911de8bdf97f51f26059585f96aee5eb Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 27 Apr 2000 03:11:22 +0000 Subject: 2000-04-27 Bruno Haible * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT. * intl/loadinfo.h (internal_function): Define if not already defined. 2000-04-27 Andreas Jaeger * intl/libintl.h: Fix typo, reported by Bruno Haible . --- intl/libintl.h | 2 +- intl/loadinfo.h | 4 ++++ intl/ngettext.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'intl') diff --git a/intl/libintl.h b/intl/libintl.h index 91e73265dc..0f147228df 100644 --- a/intl/libintl.h +++ b/intl/libintl.h @@ -60,7 +60,7 @@ extern char *dngettext (__const char *__domainname, __const char *__msgid1, __const char *__msgid2, unsigned long int __n) __THROW __attribute__ ((__format_arg__ (2))); -/* Similar to `dxgettext' but select the plural form corresponding to the +/* Similar to `dcgettext' but select the plural form corresponding to the number N. */ extern char *dcngettext (__const char *__domainname, __const char *__msgid1, __const char *__msgid2, unsigned long int __n, diff --git a/intl/loadinfo.h b/intl/loadinfo.h index 009abcc620..585ed11c5e 100644 --- a/intl/loadinfo.h +++ b/intl/loadinfo.h @@ -28,6 +28,10 @@ # endif #endif +#ifndef internal_function +# define internal_function +#endif + /* Encoding of locale name parts. */ #define CEN_REVISION 1 #define CEN_SPONSOR 2 diff --git a/intl/ngettext.c b/intl/ngettext.c index 1addf87752..5340732046 100644 --- a/intl/ngettext.c +++ b/intl/ngettext.c @@ -55,7 +55,7 @@ # define NGETTEXT __ngettext # define DCNGETTEXT __dcngettext #else -# define NGETTEXT gettext__ +# define NGETTEXT ngettext__ # define DCNGETTEXT dcngettext__ #endif -- cgit v1.2.3