mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
msvc: don't declare HAVE_TIMEZONE
for older MSVC (#3956)
It was introduced in MSVC 15 (Visual Studio 2017).
This commit is contained in:
parent
c29a02d5e6
commit
b1054b4ef3
@ -78,7 +78,9 @@ if (WINDOWS)
|
||||
endif ()
|
||||
if (NOT UNIX AND NOT CYGWIN)
|
||||
set (${HDF_PREFIX}_HAVE_GETCONSOLESCREENBUFFERINFO 1)
|
||||
set (${HDF_PREFIX}_HAVE_TIMEZONE 1)
|
||||
if (MSVC_VERSION GREATER_EQUAL 1900)
|
||||
set (${HDF_PREFIX}_HAVE_TIMEZONE 1)
|
||||
endif ()
|
||||
set (${HDF_PREFIX}_HAVE_GETTIMEOFDAY 1)
|
||||
set (${HDF_PREFIX}_HAVE_LIBWS2_32 1)
|
||||
set (${HDF_PREFIX}_HAVE_LIBWSOCK32 1)
|
||||
|
Loading…
Reference in New Issue
Block a user