mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Do not inline in C++
This commit is contained in:
parent
257422f28c
commit
b550f2eb2c
@ -224,6 +224,9 @@ AC_C_CONST
|
|||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
AC_MSG_CHECKING([[for C99-conforming inline]])
|
AC_MSG_CHECKING([[for C99-conforming inline]])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#error noinline
|
||||||
|
#endif
|
||||||
int add(int change);
|
int add(int change);
|
||||||
|
|
||||||
static int sum;
|
static int sum;
|
||||||
|
Loading…
Reference in New Issue
Block a user