Skip to content

Commit 7bb871f

Browse files
committed
lib: delete obsolete inline keyword detection
C99 supports the inline keyword, this is now not useful. Signed-off-by: GitHub <noreply@github.com>
1 parent 8674390 commit 7bb871f

File tree

3 files changed

+0
-33
lines changed

3 files changed

+0
-33
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
3737
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
3838
endif()
3939

40-
include(TestCInline)
4140
include(CheckSymbolExists)
4241
include(CheckLibraryExists)
4342
include(CMakePushCheckState)

cmake/TestCInline.cmake

Lines changed: 0 additions & 28 deletions
This file was deleted.

cmake/config.h.in

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#ifndef CONFIG_H
22
#define CONFIG_H
33

4-
#ifndef __cplusplus
5-
# define inline ${C_INLINE_KEYWORD}
6-
#endif
7-
84
#cmakedefine HAVE_SELECT
95

106
#cmakedefine HAVE_POLL

0 commit comments

Comments
 (0)