]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
build: Remove support for emulating inline with __inline or __inline__
authorSimon McVittie <smcv@collabora.com>
Tue, 19 Jul 2022 19:34:15 +0000 (20:34 +0100)
committerSimon McVittie <smcv@collabora.com>
Tue, 19 Jul 2022 19:45:31 +0000 (20:45 +0100)
We now require a (mostly-)C99 compiler, and C99 guarantees the presence
of the inline keyword.

Signed-off-by: Simon McVittie <smcv@collabora.com>
cmake/config.h.cmake
configure.ac

index b70f8390d0f09adf5059cfd96ab99a8d9339436e..96a74f084b8fe38d76d82b5c3c73c1b1c0330b86 100644 (file)
 #define SIGHUP 1
 #endif
 
-# if defined(_MSC_VER) && !defined(inline)
-#define inline __inline
-#endif
-
 #ifdef DBUS_WIN
 #define FD_SETSIZE @FD_SETSIZE@
 #endif
index 0c5cdfeab165b3a19c5e64ba20456977b23de344..c4653c6938bebcf7c88a157bc2ee8c32066aaa9a 100644 (file)
@@ -101,7 +101,6 @@ AC_USE_SYSTEM_EXTENSIONS
 AC_SYS_LARGEFILE
 AC_ISC_POSIX
 AC_HEADER_STDC
-AC_C_INLINE
 AM_PROG_LIBTOOL
 AC_PROG_MKDIR_P
 PKG_PROG_PKG_CONFIG