From bf30fe6d6068bd00ff4b06e667f88e7ca4210cfe Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 19 Jul 2022 20:34:15 +0100 Subject: [PATCH] build: Remove support for emulating inline with __inline or __inline__ We now require a (mostly-)C99 compiler, and C99 guarantees the presence of the inline keyword. Signed-off-by: Simon McVittie --- cmake/config.h.cmake | 4 ---- configure.ac | 1 - 2 files changed, 5 deletions(-) diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index b70f8390..96a74f08 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -280,10 +280,6 @@ #define SIGHUP 1 #endif -# if defined(_MSC_VER) && !defined(inline) -#define inline __inline -#endif - #ifdef DBUS_WIN #define FD_SETSIZE @FD_SETSIZE@ #endif diff --git a/configure.ac b/configure.ac index 0c5cdfea..c4653c69 100644 --- a/configure.ac +++ b/configure.ac @@ -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