mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-28 21:21:30 +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")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-reserved-user-defined-literal")
|
||||
ENDIF()
|
||||
|
||||
ADD_DEFINITIONS(-D__STDC_CONSTANT_MACROS)
|
||||
ENDIF(NOT MSVC)
|
||||
|
||||
#Various definitions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user