From: George Bosilca Date: Mon, 4 Sep 2006 17:23:30 +0000 (+0000) Subject: * libltdl/argz_.h: It's __cplusplus, not _cplusplus. X-Git-Tag: release-2-1b~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a33e176befaed3398fc2ab825c1850981d3644;p=thirdparty%2Flibtool.git * libltdl/argz_.h: It's __cplusplus, not _cplusplus. * libltdl/libltdl/slist.h: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 00561f0bb..bff5967f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ 2006-09-04 George Bosilca and Ralf Wildenhues + * libltdl/argz_.h: It's __cplusplus, not _cplusplus. + * libltdl/libltdl/slist.h: Likewise. + * libltdl/libltdl/lt__glibc.h: Wrap included argz.h in `extern "C"', for broken headers on Cygwin. diff --git a/libltdl/argz_.h b/libltdl/argz_.h index dc1cd5106..c35d6e367 100644 --- a/libltdl/argz_.h +++ b/libltdl/argz_.h @@ -40,7 +40,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # define LT_SCOPE #endif -#if defined(_cplusplus) +#if defined(__cplusplus) extern "C" { #endif @@ -54,7 +54,7 @@ LT_SCOPE char * argz_next (char *argz, size_t argz_len, const char *entry); LT_SCOPE void argz_stringify (char *argz, size_t argz_len, int sep); -#if defined(_cplusplus) +#if defined(__cplusplus) } #endif diff --git a/libltdl/libltdl/slist.h b/libltdl/libltdl/slist.h index 84e66adc2..4b47cda6d 100644 --- a/libltdl/libltdl/slist.h +++ b/libltdl/libltdl/slist.h @@ -47,7 +47,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # define LT_SCOPE #endif -#if defined(_cplusplus) +#if defined(__cplusplus) extern "C" { #endif @@ -82,7 +82,7 @@ LT_SCOPE void * slist_foreach (SList *slist, SListCallback *foreach, LT_SCOPE SList *slist_box (const void *userdata); LT_SCOPE void * slist_unbox (SList *item); -#if defined(_cplusplus) +#if defined(__cplusplus) } #endif