mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[CMAKE] Remove __inline substitutions
All supported compilers can do C99 now, this is not needed anymore.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
@@ -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)
|
||||
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user