[CMAKE] Remove __inline substitutions

All supported compilers can do C99 now, this is not needed anymore.
This commit is contained in:
Victor Perevertkin 2021-10-26 22:21:11 +03:00
parent c73c86419e
commit 8ca4b0f257
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
3 changed files with 1 additions and 7 deletions

View file

@ -140,10 +140,6 @@ if(NOT CMAKE_CROSSCOMPILING)
if(MSVC_VERSION GREATER 1699)
add_definitions(/D_ALLOW_KEYWORD_MACROS)
endif()
if(NOT USE_CLANG_CL)
# FIXME: Inspect
add_definitions(/Dinline=__inline)
endif()
endif()
add_subdirectory(sdk/include/host)

View file

@ -166,8 +166,6 @@ elseif(ARCH STREQUAL "arm")
add_definitions(-D__MSVCRT__) # DUBIOUS
endif()
add_definitions(-D_inline=__inline)
# Fix build with GLIBCXX + our c++ headers
add_definitions(-D_GLIBCXX_HAVE_BROKEN_VSWPRINTF)

View file

@ -30,7 +30,7 @@ if(ARCH STREQUAL "i386")
add_definitions(/DWIN32 /D_WINDOWS)
endif()
add_definitions(/Dinline=__inline /D__STDC__=1)
add_definitions(/D__STDC__=1)
# Ignore any "standard" include paths, and do not use any default CRT library.
if(NOT USE_CLANG_CL)