Declare HAVE_STRUCT_TIMESPEC also for future Visual Studio versions

This commit is contained in:
Deve 2015-09-02 17:37:23 +02:00
parent e2da2a36a1
commit 8a42fab5f1

View File

@ -213,7 +213,7 @@ if(WIN32)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
# Avoid timespec structure redeclaration on Visual Studio 2015
if (MSVC_VERSION EQUAL 1900)
if (NOT (MSVC_VERSION LESS 1900))
add_definitions(-DHAVE_STRUCT_TIMESPEC)
endif()
endif()