Mercurial > hg > octave-nkf > gnulib-hg
changeset 14027:5e4ea8b4bde8
iswblank: Fix C++ link error on Solaris 8.
* lib/wctype.in.h (iswblank): Declare using _GL_FUNCDECL_RPL or
_GL_FUNCDECL_SYS.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 25 Dec 2010 16:54:32 +0100 |
parents | 646806b29340 |
children | 2d32f7c9e2d3 |
files | ChangeLog lib/wctype.in.h |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-12-25 Bruno Haible <bruno@clisp.org> + + iswblank: Fix C++ link error on Solaris 8. + * lib/wctype.in.h (iswblank): Declare using _GL_FUNCDECL_RPL or + _GL_FUNCDECL_SYS. + 2010-12-25 Bruno Haible <bruno@clisp.org> unistd: Fix C++ link error on Solaris 8.
--- a/lib/wctype.in.h +++ b/lib/wctype.in.h @@ -284,9 +284,9 @@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iswblank rpl_iswblank # endif -extern int rpl_iswblank (wint_t wc); +_GL_FUNCDECL_RPL (iswblank, int, (wint_t wc)); # else -extern int iswblank (wint_t wc); +_GL_FUNCDECL_SYS (iswblank, int, (wint_t wc)); # endif #endif