summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-06-18 18:01:57 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-06-18 18:01:57 (GMT)
commit860fe3d4d78e7f1b130b39bf410b5c8f55ad1123 (patch)
tree2db8aefc8c6e44f8404de60827372d808816656b /config/cmake
parent79b36622aacb480870340e494a62de8315f8662d (diff)
downloadhdf5-860fe3d4d78e7f1b130b39bf410b5c8f55ad1123.zip
hdf5-860fe3d4d78e7f1b130b39bf410b5c8f55ad1123.tar.gz
hdf5-860fe3d4d78e7f1b130b39bf410b5c8f55ad1123.tar.bz2
[svn-r22470] Allow MinGW checks for fseek and the like
Tested: windows 32 mingw
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index 2b64a56..0940418 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -461,7 +461,7 @@ ADD_DEFINITIONS (${HDF5_EXTRA_FLAGS})
#-----------------------------------------------------------------------------
# Check for HAVE_OFF64_T functionality
#-----------------------------------------------------------------------------
-IF (NOT WINDOWS)
+IF (NOT WINDOWS OR MINGW)
HDF5_FUNCTION_TEST (HAVE_OFF64_T)
IF (H5_HAVE_OFF64_T)
CHECK_FUNCTION_EXISTS (lseek64 H5_HAVE_LSEEK64)
@@ -478,7 +478,7 @@ IF (NOT WINDOWS)
CHECK_FUNCTION_EXISTS (fstat64 H5_HAVE_FSTAT64)
CHECK_FUNCTION_EXISTS (stat64 H5_HAVE_STAT64)
ENDIF (HAVE_STAT64_STRUCT)
-ENDIF (NOT WINDOWS)
+ENDIF (NOT WINDOWS OR MINGW)
#-----------------------------------------------------------------------------
# Check the size in bytes of all the int and float types