Skip to content

Commit

Permalink
Merge pull request #11 from byrnHDF/develop
Browse files Browse the repository at this point in the history
Add mingw define
  • Loading branch information
lrknox authored Oct 3, 2020
2 parents 58d8eae + 13d81d2 commit 9df9061
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/cmake_ext_mod/ConfigureChecks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9df9061

Please sign in to comment.