summaryrefslogtreecommitdiffstats
path: root/gettext-runtime
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-06-12 11:46:40 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:39 +0200
commit178a7885821781e7da6169f881d1d59075e82b93 (patch)
tree858f39ebdd944c707b46b2d19ca191ace3dd4299 /gettext-runtime
parent703218564efa97e5f59bd4018c360893eafef126 (diff)
downloadexternal_gettext-178a7885821781e7da6169f881d1d59075e82b93.zip
external_gettext-178a7885821781e7da6169f881d1d59075e82b93.tar.gz
external_gettext-178a7885821781e7da6169f881d1d59075e82b93.tar.bz2
Avoid prepending an underscore to the redirected name on Mingw32.
Diffstat (limited to 'gettext-runtime')
-rw-r--r--gettext-runtime/intl/ChangeLog7
-rw-r--r--gettext-runtime/intl/libgnuintl.h.in2
2 files changed, 7 insertions, 2 deletions
diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog
index 76b13fb..9aeb58f 100644
--- a/gettext-runtime/intl/ChangeLog
+++ b/gettext-runtime/intl/ChangeLog
@@ -1,4 +1,9 @@
-2003-05-08 Bruno Haible <bruno@clisp.org>
+2003-06-12 Bruno Haible <bruno@clisp.org>
+
+ * libgnuintl.h (_INTL_REDIRECT_ASM): Don't define when using Mingw.
+ Reported by Tor Lillqvist <tml@iki.fi>.
+
+2003-06-08 Bruno Haible <bruno@clisp.org>
* dcigettext.c (getcwd) [VMS]: Pass 3 arguments.
Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
diff --git a/gettext-runtime/intl/libgnuintl.h.in b/gettext-runtime/intl/libgnuintl.h.in
index f596cfc..b6c526c 100644
--- a/gettext-runtime/intl/libgnuintl.h.in
+++ b/gettext-runtime/intl/libgnuintl.h.in
@@ -93,7 +93,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 __STDC__ || defined __cplusplus)
+# if __GNUC__ >= 2 && !defined __APPLE_CC__ && !defined __MINGW32__ && (defined __STDC__ || defined __cplusplus)
# define _INTL_REDIRECT_ASM
# else
# ifdef __cplusplus