mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Declare gettext when libintl.h is unavailable.
This commit is contained in:
parent
c7ce6fee5c
commit
c035e39b7d
@ -1,3 +1,8 @@
|
|||||||
|
2005-05-04 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* wget.h: If gettext was found but libtintl.h wasn't, declare
|
||||||
|
gettext's return type to avoid type mismatches.
|
||||||
|
|
||||||
2005-05-03 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-05-03 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* url.c (url_parse): Rename label `error' to avoid conflict with
|
* url.c (url_parse): Rename label `error' to avoid conflict with
|
||||||
|
@ -54,7 +54,9 @@ so, delete this exception statement from your version. */
|
|||||||
# define _(string) gettext (string)
|
# define _(string) gettext (string)
|
||||||
# ifdef HAVE_LIBINTL_H
|
# ifdef HAVE_LIBINTL_H
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
# endif /* HAVE_LIBINTL_H */
|
# else /* not HAVE_LIBINTL_H */
|
||||||
|
const char *gettext ();
|
||||||
|
# endif /* not HAVE_LIBINTL_H */
|
||||||
#else /* not HAVE_NLS */
|
#else /* not HAVE_NLS */
|
||||||
# define _(string) (string)
|
# define _(string) (string)
|
||||||
#endif /* not HAVE_NLS */
|
#endif /* not HAVE_NLS */
|
||||||
|
Loading…
Reference in New Issue
Block a user