summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-06-12 13:55:01 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-06-12 13:55:01 (GMT)
commitc02719a4c811a65c7886249f3a421f7271f2c89b (patch)
treefb5783a080bb8f409e8b6a88a3ee43b5c62a20a1 /config
parent20d45c853d83eb04fc72e01a3b5461240312095d (diff)
downloadhdf5-c02719a4c811a65c7886249f3a421f7271f2c89b.zip
hdf5-c02719a4c811a65c7886249f3a421f7271f2c89b.tar.gz
hdf5-c02719a4c811a65c7886249f3a421f7271f2c89b.tar.bz2
[svn-r22455] 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 01a4d0e..bbd310e 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