mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
* acinclude.m4: AC_LANG not a variable now -- use __cplusplus
unconditionally .
This commit is contained in:
parent
237b3247ac
commit
ee79b9ff89
1 changed files with 2 additions and 3 deletions
|
@ -76,11 +76,10 @@ dnl select. Similarly for bzero.
|
||||||
which can conflict with char $1(); below. */
|
which can conflict with char $1(); below. */
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
#endif
|
#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. */
|
builtin and then its argument prototype would still apply. */
|
||||||
char $1();
|
char $1();
|
||||||
], [
|
], [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue