From 09af249c375a176ea9db1765b8ad43f445390448 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 25 Dec 2010 16:54:32 +0100 Subject: [PATCH] iswblank: Fix C++ link error on Solaris 8. * lib/wctype.in.h (iswblank): Declare using _GL_FUNCDECL_RPL or _GL_FUNCDECL_SYS. --- ChangeLog | 6 ++++++ lib/wctype.in.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ec152d054..98acbca42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-12-25 Bruno Haible + 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 + unistd: Fix C++ link error on Solaris 8. * modules/unistd-c++-tests (test_unistd_c___LDADD): Add $(LIB_EACCESS). diff --git a/lib/wctype.in.h b/lib/wctype.in.h index 9a6209895..0505a4794 100644 --- a/lib/wctype.in.h +++ b/lib/wctype.in.h @@ -284,9 +284,9 @@ towupper # 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 -- 2.11.0