diff options
author | Bruno Haible <bruno@clisp.org> | 2008-12-20 12:48:18 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-12-20 12:48:18 +0100 |
commit | 1d4ebe41d6071d95c1806acaca2cf9372637e9ee (patch) | |
tree | 6bb37808ef4e4a2c6b9062db5a5aee8a53b5a486 /lib | |
parent | d8235a667024b123ff7e89be518a7049f658e9bd (diff) | |
download | gnulib-1d4ebe41d6071d95c1806acaca2cf9372637e9ee.tar.gz |
Ensure wctob is declared on IRIX 6.5.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/wchar.in.h | 3 |
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 |