mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[CMAKE] Remove __inline substitutions
All supported compilers can do C99 now, this is not needed anymore.
This commit is contained in:
parent
c73c86419e
commit
8ca4b0f257
3 changed files with 1 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue