summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-10-02 18:35:09 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-10-02 18:35:09 (GMT)
commit13d81d2dff9aa290ecc4dc14afdfbec146457e6d (patch)
tree35a9a44553ae4ab5be733bed16285f3cfa770af3 /config
parent58d8eae182ac764ef15c3ed040a12a96aa4d16f0 (diff)
downloadhdf5-13d81d2dff9aa290ecc4dc14afdfbec146457e6d.zip
hdf5-13d81d2dff9aa290ecc4dc14afdfbec146457e6d.tar.gz
hdf5-13d81d2dff9aa290ecc4dc14afdfbec146457e6d.tar.bz2
Add mingw define
Diffstat (limited to 'config')
-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)