summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-06-12 13:54:27 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-06-12 13:54:27 (GMT)
commit751f22f99ad260dd78767fbc0281393a3117468e (patch)
treeb46421a1623f1ad45c9e378e351f2b38c0a26cec /config
parent62ce2569cf6ab445d9d10e97679ec9f0df4d464d (diff)
downloadhdf5-751f22f99ad260dd78767fbc0281393a3117468e.zip
hdf5-751f22f99ad260dd78767fbc0281393a3117468e.tar.gz
hdf5-751f22f99ad260dd78767fbc0281393a3117468e.tar.bz2
[svn-r22454] Add NOT WINDOWS blocking around VSNPRINTF works check.
Diffstat (limited to 'config')
-rw-r--r--config/cmake/ConfigureChecks.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index 1604a4f..244314c 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -631,9 +631,11 @@ CHECK_FUNCTION_EXISTS (vasprintf H5_HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (waitpid H5_HAVE_WAITPID)
CHECK_FUNCTION_EXISTS (vsnprintf H5_HAVE_VSNPRINTF)
-#IF (H5_HAVE_VSNPRINTF)
-# HDF5_FUNCTION_TEST (VSNPRINTF_WORKS)
-#ENDIF (H5_HAVE_VSNPRINTF)
+IF (NOT WINDOWS)
+ IF (H5_HAVE_VSNPRINTF)
+ HDF5_FUNCTION_TEST (VSNPRINTF_WORKS)
+ ENDIF (H5_HAVE_VSNPRINTF)
+ENDIF (NOT WINDOWS)
#-----------------------------------------------------------------------------
# sigsetjmp is special; may actually be a macro