]> sjero.net Git - wget/blobdiff - src/wget.h
[svn] Workaround lack of ngettext.
[wget] / src / wget.h
index 6d35190f85dea294d4ad2d5525d1fdd37cb0d0a1..45b34d60fe75b3bffadef33fbd9b5c29fb5aea64 100644 (file)
@@ -55,6 +55,7 @@ so, delete this exception statement from your version.  */
 # 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 */
 
 /* A pseudo function call that serves as a marker for the automated