Commit 15bca8c6 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'f8a1ead0'

* commit 'f8a1ead0':
  build: Add -D_XOPEN_SOURCE=600 to CPPFLAGS on Cygwin
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 806f5b0b f8a1ead0
......@@ -5023,7 +5023,7 @@ probe_libc(){
# MinGW headers can be installed on Cygwin, so check for newlib first.
elif check_${pfx}cpp_condition newlib.h "defined _NEWLIB_VERSION"; then
eval ${pfx}libc_type=newlib
add_${pfx}cppflags -U__STRICT_ANSI__
add_${pfx}cppflags -U__STRICT_ANSI__ -D_XOPEN_SOURCE=600
# MinGW64 is backwards compatible with MinGW32, so check for it first.
elif check_${pfx}cpp_condition _mingw.h "defined __MINGW64_VERSION_MAJOR"; then
eval ${pfx}libc_type=mingw64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment