From: Sam Steingold Date: Fri, 26 Jun 2009 00:58:34 +0000 (+0200) Subject: Make the tests work with a C++ compiler. X-Git-Tag: v0.1~5833 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=5696a5eaf981123faccc39145a966fa13c335b18;p=gnulib.git Make the tests work with a C++ compiler. --- diff --git a/ChangeLog b/ChangeLog index fc5719b07..15adf516e 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 11d7d23e7..2fddcc8a1 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 ()