]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid a link error with gcc 2.x on AIX 4.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Nov 2003 15:30:49 +0000 (15:30 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:16 +0000 (12:11 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/libgnuintl.h.in

index 5651e79e0694b9e9c7acd5ccecd99343544ba44c..2ae50e549d366a8a658eb7197aa209f5ec67ce4f 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-16  Bruno Haible  <bruno@clisp.org>
+
+       * libgnuintl.h.in (_INTL_REDIRECT_ASM): Don't define on AIX with gcc 2.
+       Reported by Kouichi Hashikawa <z01a7ksy@cs.ecip.tohoku.ac.jp>.
+
 2003-10-19  Bruno Haible  <bruno@clisp.org>
 
        * hash-string.h (hash_string): Zero-extend each char from the string;
index d68dede36fa5caac58451eadaaac0c06fc648ca8..3be7eb990cb6ce599568d90ed7c5ae5aaa721488 100644 (file)
@@ -83,7 +83,7 @@ extern "C" {
    If he doesn't, we choose the method.  A third possible method is
    _INTL_REDIRECT_ASM, supported only by GCC.  */
 #if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS)
-# if __GNUC__ >= 2 && !defined __APPLE_CC__ && !defined __MINGW32__ && (defined __STDC__ || defined __cplusplus)
+# if __GNUC__ >= 2 && !defined __APPLE_CC__ && !defined __MINGW32__ && !(__GNUC__ == 2 && defined _AIX) && (defined __STDC__ || defined __cplusplus)
 #  define _INTL_REDIRECT_ASM
 # else
 #  ifdef __cplusplus