From: Bruno Haible Date: Thu, 20 May 2010 23:18:53 +0000 (+0200) Subject: Avoid a link error when building statically on mingw. X-Git-Tag: v0.18.1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f31b1144ee33d19a2bed9319a0652c7b889d3dd1;p=thirdparty%2Fgettext.git Avoid a link error when building statically on mingw. --- diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index a8867314e..8ec88484a 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,9 @@ +2010-05-20 Bruno Haible + + Avoid a link error when building statically on mingw. + * gettextP.h (gl_locale_name_thread): Alias to _nl_locale_name_thread. + Reported by Rob . + 2010-05-16 Bruno Haible * libgnuintl.h.in (printf): Add comment. diff --git a/gettext-runtime/intl/gettextP.h b/gettext-runtime/intl/gettextP.h index 33e68779b..5168b4c80 100644 --- a/gettext-runtime/intl/gettextP.h +++ b/gettext-runtime/intl/gettextP.h @@ -1,5 +1,5 @@ /* Header describing internals of libintl library. - Copyright (C) 1995-1999, 2000-2007, 2009 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000-2007, 2009-2010 Free Software Foundation, Inc. Written by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it @@ -238,6 +238,9 @@ extern void _nl_locale_name_canonicalize (char *name); # define gl_locale_name_thread_unsafe _nl_locale_name_thread_unsafe extern const char *_nl_locale_name_thread_unsafe (int category, const char *categoryname); +# define gl_locale_name_thread _nl_locale_name_thread +/* extern const char *_nl_locale_name_thread (int category, + const char *categoryname); */ # define gl_locale_name_posix _nl_locale_name_posix extern const char *_nl_locale_name_posix (int category, const char *categoryname);