Compilation fixes, snprintf now supported on VS2015

This commit is contained in:
Andre Bernet
2016-06-30 23:39:04 +02:00
parent c777af2b72
commit b48e14eeb9
3 changed files with 5 additions and 4 deletions
+2
View File
@@ -986,6 +986,8 @@ add_definitions(-DCORRECT_NEGATIVE_SHIFTS)
if(NOT WIN32)
add_definitions(-Wall -Wno-strict-aliasing -Wformat -Wreturn-type -Wunused -Wuninitialized -Wunknown-pragmas -Wno-switch -Wtype-limits)
else()
add_definitions(-D_TIMESPEC_DEFINED)
endif()
add_subdirectory(targets/simu)