]> sjero.net Git - wget/blobdiff - src/wget.h
Replaced safe-ctype.[ch] with gnulib's c-ctype.
[wget] / src / wget.h
index 2cfa7aa84de539a031d33ca1877a83715cf8dd05..ac16504b4cc9bb789788a79020a14ea7e970133f 100644 (file)
@@ -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 <libintl.h>
-# 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
@@ -89,7 +80,7 @@ so, delete this exception statement from your version.  */
 /* Include these, so random files need not include them.  */
 #include "sysdep.h"
 /* locale independent replacement for ctype.h */
-#include "safe-ctype.h"
+#include "c-ctype.h"
 
 /* Conditionalize the use of GCC's __attribute__((format)) and
    __builtin_expect features using macros.  */