aboutsummaryrefslogtreecommitdiffhomepage
path: root/wgetopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'wgetopt.c')
-rw-r--r--wgetopt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wgetopt.c b/wgetopt.c
index 8b712d92..08e42cba 100644
--- a/wgetopt.c
+++ b/wgetopt.c
@@ -180,8 +180,11 @@ static char *posixly_correct;
Use translation functions if available
*/
#ifdef HAVE_TRANSLATE_H
-
-#define _(wstr) wgettext(wstr)
+#ifdef USE_GETTEXT
+#define _(string) wgettext(string)
+#else
+#define _(string) (string)
+#endif
#else
#define _(wstr) wstr
#endif