From 5696a5eaf981123faccc39145a966fa13c335b18 Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Fri, 26 Jun 2009 02:58:34 +0200 Subject: [PATCH] Make the tests work with a C++ compiler. --- ChangeLog | 5 +++++ m4/mbrtowc.m4 | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fc5719b073..15adf516e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-06-25 Sam Steingold + + * mbrtowc.m4 (gl_MBRTOWC_SANITYCHECK): Include , for the + mbtowc declaration. + 2009-06-25 Eric Blake fpurge: migrate into diff --git a/m4/mbrtowc.m4 b/m4/mbrtowc.m4 index 11d7d23e7e..2fddcc8a10 100644 --- a/m4/mbrtowc.m4 +++ b/m4/mbrtowc.m4 @@ -1,4 +1,4 @@ -# mbrtowc.m4 serial 15 +# mbrtowc.m4 serial 16 dnl Copyright (C) 2001-2002, 2004-2005, 2008, 2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -156,6 +156,7 @@ changequote([,])dnl if test $LOCALE_ZH_CN != none; then AC_TRY_RUN([ #include +#include #include #include int main () -- 2.30.2