From: Bruno Haible Date: Mon, 9 Apr 2001 13:00:32 +0000 (+0000) Subject: Fix __GNU_LIBRARY__ conditional. X-Git-Tag: v0.10.37~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4254649082b04fae09fcb1149b885a8ad4728874;p=thirdparty%2Fgettext.git Fix __GNU_LIBRARY__ conditional. --- diff --git a/intl/ChangeLog b/intl/ChangeLog index fac7ddd78..94a35a4fe 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,8 @@ +2001-04-09 Bruno Haible + + * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2 + (Linux libc5). + 2001-04-04 Bruno Haible * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__. diff --git a/intl/dcigettext.c b/intl/dcigettext.c index 4b1dfb377..f364cf9a3 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -203,7 +203,7 @@ static void *mempcpy PARAMS ((void *dest, const void *src, size_t n)); However it does not specify the exact format. Neither do SUSV2 and ISO C 99. So we can use this feature only on selected systems (e.g. those using GNU C Library). */ -#if defined _LIBC || defined __GNU_LIBRARY__ +#if defined _LIBC || (defined __GNU_LIBRARY__ && __GNU_LIBRARY__ >= 2) # define HAVE_LOCALE_NULL #endif