]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix __GNU_LIBRARY__ conditional.
authorBruno Haible <bruno@clisp.org>
Mon, 9 Apr 2001 13:00:32 +0000 (13:00 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 9 Apr 2001 13:00:32 +0000 (13:00 +0000)
intl/ChangeLog
intl/dcigettext.c

index fac7ddd785e69a6d956a4e4711f3c61518af067d..94a35a4fef59d0c7ed2875864010f1791d6acb9a 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-09  Bruno Haible  <haible@clisp.cons.org>
+
+       * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2
+       (Linux libc5).
+
 2001-04-04  Bruno Haible  <haible@clisp.cons.org>
 
        * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__.
index 4b1dfb377b412788aa0be21346347a5b85152545..f364cf9a3641d3947e992ceac0af5db0854534af 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).  */
-#if defined _LIBC || defined __GNU_LIBRARY__
+#if defined _LIBC || (defined __GNU_LIBRARY__ && __GNU_LIBRARY__ >= 2)
 # define HAVE_LOCALE_NULL
 #endif