summaryrefslogtreecommitdiff
path: root/lib/quotearg.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-12-22 00:21:54 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-12-22 00:21:54 +0000
commit44fa0d78ad36205f393cd4aa4813d1e7a403d6dc (patch)
tree3ae9f019883ce81a5946ec1ca91d0cb2e798aa9b /lib/quotearg.c
parente9c61f30061c75f9f43889aae36ba3a135de85f1 (diff)
downloadgnulib-44fa0d78ad36205f393cd4aa4813d1e7a403d6dc.tar.gz
* MODULES.html.sh: New module wctype.
* lib/wctype_.h, m4/wctype.m4, modules/wctype: New files. * lib/fnmatch.c: Don't bother to include <wchar.h> before <wctype.h>, since the new wctype module should fix this. * lib/quotearg.c: Include <wctype.h> unconditionally, since the wctype module should arrange for it. * lib/regex_internal.h: Likewise. * m4/quotearg.m4 (gl_QUOTEARG): Don't check for wctype.h or iswprint, since the wctype module should handle this now. * m4/regex.m4 (gl_PREREQ_REGEX): Don't check for wctype.h. * modules/fnmatch (Depends-on): Add wctype. * modules/quotearg (Depends-on): Likewise. * modules/regex (Depends-on): Likewise.
Diffstat (limited to 'lib/quotearg.c')
-rw-r--r--lib/quotearg.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c
index 6f3ee9e86c..0ad8da893c 100644
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -62,14 +62,7 @@
# define mbsinit(ps) 1
#endif
-#ifndef iswprint
-# if HAVE_WCTYPE_H
-# include <wctype.h>
-# endif
-# if !defined iswprint && !HAVE_ISWPRINT
-# define iswprint(wc) 1
-# endif
-#endif
+#include <wctype.h>
#ifndef SIZE_MAX
# define SIZE_MAX ((size_t) -1)