mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-29 20:52:39 +00:00
Added __STDC_CONSTANT_MACROS to cmake defines, this should make C++ export the C99 macros even if the standard library isn't quite up to the c++11 standard yet
This commit is contained in:
parent
5cbd741358
commit
774e9becbd
@ -264,6 +264,8 @@ IF(NOT MSVC)
|
|||||||
IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-reserved-user-defined-literal")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-reserved-user-defined-literal")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
ADD_DEFINITIONS(-D__STDC_CONSTANT_MACROS)
|
||||||
ENDIF(NOT MSVC)
|
ENDIF(NOT MSVC)
|
||||||
|
|
||||||
#Various definitions
|
#Various definitions
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user