[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using AC_C_INLINE blows up C++ tests
From: |
Kevin Ryde |
Subject: |
Re: Using AC_C_INLINE blows up C++ tests |
Date: |
Sun, 08 Jun 2003 08:41:06 +1000 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) |
Assar Westerlund <address@hidden> writes:
>
> +AH_VERBATIM([inlind], [
> +#ifndef __cplusplus
> +])
It's probably cleaner to use an AH_VERBATIM for the whole thing. I've
has some joy from th following (and no description are in the AC_DEFINEs).
AH_VERBATIM(inline,
[/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#ifndef __cplusplus
#undef inline
#endif])