Skip to content

Commit

Permalink
Add mingw define
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Oct 2, 2020
1 parent 58d8eae commit 13d81d2
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 13d81d2

Please sign in to comment.