Fixed %lld and %llu related warnings.

This commit is contained in:
XMRig 2017-07-18 20:20:29 +03:00
parent e00c568ae9
commit d7659b5093
3 changed files with 13 additions and 8 deletions

View file

@ -145,6 +145,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
if (WIN32)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static")
add_definitions(/D__STDC_FORMAT_MACROS)
else()
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++")
endif()