summaryrefslogtreecommitdiffstats
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)
commitb52c3aea3b7687aa1b5e9149b23c282049b11fb1 (patch)
tree2d80155a4684625e72ba08d4f4c1ed927ce7e85e
parentca76cbbd5b76f209d196222af66304b17506a313 (diff)
downloadhdf5-b52c3aea3b7687aa1b5e9149b23c282049b11fb1.zip
hdf5-b52c3aea3b7687aa1b5e9149b23c282049b11fb1.tar.gz
hdf5-b52c3aea3b7687aa1b5e9149b23c282049b11fb1.tar.bz2
[svn-r22470] Allow MinGW checks for fseek and the like
Tested: windows 32 mingw
-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 28d624e..e5669c5 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