From 50b3ff7b91e78a61aca93247bee586d6d7eb27c8 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 20 May 2009 00:32:10 +0200 Subject: Sync with the latest Gnulib code (cb75dc5) Signed-off-by: Holger Weiss --- gl/wchar.in.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gl/wchar.in.h') diff --git a/gl/wchar.in.h b/gl/wchar.in.h index cc436b14..cc5baad3 100644 --- a/gl/wchar.in.h +++ b/gl/wchar.in.h @@ -264,7 +264,11 @@ extern size_t wcsrtombs (char *dest, const wchar_t **srcp, size_t len, mbstate_t /* Convert a wide string to a string. */ #if @GNULIB_WCSNRTOMBS@ -# if !@HAVE_WCSNRTOMBS@ +# if @REPLACE_WCSNRTOMBS@ +# undef wcsnrtombs +# define wcsnrtombs rpl_wcsnrtombs +# endif +# if !@HAVE_WCSNRTOMBS@ || @REPLACE_WCSNRTOMBS@ extern size_t wcsnrtombs (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *ps); # endif #elif defined GNULIB_POSIXCHECK -- cgit v1.2.3