summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-10-03 12:01:03 (GMT)
committerGitHub <noreply@github.com>2020-10-03 12:01:03 (GMT)
commit9df906126f5d448ad52a98ba99fd2eb2f4b4f5eb (patch)
tree35a9a44553ae4ab5be733bed16285f3cfa770af3
parent58d8eae182ac764ef15c3ed040a12a96aa4d16f0 (diff)
parent13d81d2dff9aa290ecc4dc14afdfbec146457e6d (diff)
downloadhdf5-9df906126f5d448ad52a98ba99fd2eb2f4b4f5eb.zip
hdf5-9df906126f5d448ad52a98ba99fd2eb2f4b4f5eb.tar.gz
hdf5-9df906126f5d448ad52a98ba99fd2eb2f4b4f5eb.tar.bz2
Merge pull request #11 from byrnHDF/develop
Add mingw define
-rw-r--r--config/cmake_ext_mod/ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cmake_ext_mod/ConfigureChecks.cmake b/config/cmake_ext_mod/ConfigureChecks.cmake
index 0ddb6d0..7988772 100644
--- a/config/cmake_ext_mod/ConfigureChecks.cmake
+++ b/config/cmake_ext_mod/ConfigureChecks.cmake
@@ -69,6 +69,7 @@ if (MINGW)
set (WINDOWS 1) # MinGW tries to imitate Windows
set (CMAKE_REQUIRED_FLAGS "-DWIN32_LEAN_AND_MEAN=1 -DNOGDI=1")
set (${HDF_PREFIX}_HAVE_WINSOCK2_H 1)
+ set (__USE_MINGW_ANSI_STDIO 1)
endif ()
if (WIN32 AND NOT MINGW)