]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use the setlocale return value if on glibc system but compiled outside
authorBruno Haible <bruno@clisp.org>
Wed, 4 Apr 2001 21:30:31 +0000 (21:30 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 4 Apr 2001 21:30:31 +0000 (21:30 +0000)
glibc.

intl/ChangeLog
intl/dcigettext.c

index 90eeef96a9b9bfa6c81f4a5c93a822f68fe8d71d..fac7ddd785e69a6d956a4e4711f3c61518af067d 100644 (file)
@@ -1,3 +1,7 @@
+2001-04-04  Bruno Haible  <haible@clisp.cons.org>
+
+       * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__.
+
 2001-04-04  Bruno Haible  <haible@clisp.cons.org>
 
        * Makefile.in (libdir, includedir, datadir): Use the autoconf
index de08f7e9da17192f51ae3e72b9b3af54b8cb0ff3..4b1dfb377b412788aa0be21346347a5b85152545 100644 (file)
@@ -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).  */
-#ifdef _LIBC
+#if defined _LIBC || defined __GNU_LIBRARY__
 # define HAVE_LOCALE_NULL
 #endif