X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fwget.h;h=5664fe1554ef0ad9db9b261e408c7705ed1a216d;hp=2cfa7aa84de539a031d33ca1877a83715cf8dd05;hb=e76033458117c47bdc35c30544b2ab3ac17cc762;hpb=06bd76086962ab558d0c25a47aad4063e9fc5f89 diff --git a/src/wget.h b/src/wget.h index 2cfa7aa8..5664fe15 100644 --- a/src/wget.h +++ b/src/wget.h @@ -47,17 +47,8 @@ so, delete this exception statement from your version. */ /* `gettext (FOO)' is long to write, so we use `_(FOO)'. If NLS is unavailable, _(STRING) simply returns STRING. */ -#ifdef HAVE_NLS -# define _(string) gettext (string) -# ifdef HAVE_LIBINTL_H -# include -# else /* not HAVE_LIBINTL_H */ - const char *gettext (); -# endif /* not HAVE_LIBINTL_H */ -#else /* not HAVE_NLS */ -# define _(string) (string) -# define ngettext(sing, plur, num) ((num) == 1 ? (sing) : (plur)) -#endif /* not HAVE_NLS */ +#include "gettext.h" +#define _(string) gettext (string) /* A pseudo function call that serves as a marker for the automated extraction of messages, but does not call gettext(). The run-time