diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-10-02 18:35:09 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-10-02 18:35:09 (GMT) |
commit | 13d81d2dff9aa290ecc4dc14afdfbec146457e6d (patch) | |
tree | 35a9a44553ae4ab5be733bed16285f3cfa770af3 /config | |
parent | 58d8eae182ac764ef15c3ed040a12a96aa4d16f0 (diff) | |
download | hdf5-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.cmake | 1 |
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) |