[svn-r28114] Merge r28112 from trunk

CMake check for gettimeofday if not on windows
This commit is contained in:
Jerome Soumagne
2015-10-16 17:10:41 -05:00
parent 9f0190009a
commit 7db14ed28b

View File

@@ -437,6 +437,7 @@ if (NOT WINDOWS)
#-----------------------------------------------------------------------------
# Check a bunch of time functions
#-----------------------------------------------------------------------------
CHECK_FUNCTION_EXISTS (gettimeofday ${HDF_PREFIX}_HAVE_GETTIMEOFDAY)
foreach (test
HAVE_TM_GMTOFF
HAVE___TM_GMTOFF