summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-12-20 12:48:18 +0100
committerBruno Haible <bruno@clisp.org>2008-12-20 12:48:18 +0100
commit1d4ebe41d6071d95c1806acaca2cf9372637e9ee (patch)
tree6bb37808ef4e4a2c6b9062db5a5aee8a53b5a486 /lib
parentd8235a667024b123ff7e89be518a7049f658e9bd (diff)
downloadgnulib-1d4ebe41d6071d95c1806acaca2cf9372637e9ee.tar.gz
Ensure wctob is declared on IRIX 6.5.
Diffstat (limited to 'lib')
-rw-r--r--lib/wchar.in.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/wchar.in.h b/lib/wchar.in.h
index af0d978a0f..2a8f839efd 100644
--- a/lib/wchar.in.h
+++ b/lib/wchar.in.h
@@ -97,7 +97,8 @@ extern wint_t btowc (int c);
/* Convert a wide character to a single-byte character. */
#if @GNULIB_WCTOB@
-# if !@HAVE_WCTOB@
+# if !defined wctob && !@HAVE_DECL_WCTOB@
+/* wctob is provided by gnulib, or wctob exists but is not declared. */
extern int wctob (wint_t wc);
# endif
#elif defined GNULIB_POSIXCHECK