diff options
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 7765f64d4..f0402880a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -76,11 +76,10 @@ dnl select. Similarly for bzero. which can conflict with char $1(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ -]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus +#ifdef __cplusplus extern "C" #endif -])dnl -[/* We use char because int might match the return type of a gcc2 +/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $1(); ], [ |