1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-22 00:35:32 +00:00

Do not inline in C++

This commit is contained in:
Witold Filipczyk 2016-04-24 17:23:36 +02:00
parent 257422f28c
commit b550f2eb2c

View File

@ -224,6 +224,9 @@ AC_C_CONST
AC_C_INLINE
AC_MSG_CHECKING([[for C99-conforming inline]])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#ifdef __cplusplus
#error noinline
#endif
int add(int change);
static int sum;