summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-04-17 10:27:18 +0200
committerClément Bœsch <u@pkh.me>2017-04-17 10:27:18 +0200
commit15bca8c67dfe2182cadeb08959d085a1a0716715 (patch)
treef91abbb83808d3f37f8d85a9dcf65af399386c23
parent806f5b0b0ba0b0007187a20266f4f1806bab826c (diff)
parentf8a1ead0ae4402df0503c83f213f57b785a5f20f (diff)
Merge commit 'f8a1ead0ae4402df0503c83f213f57b785a5f20f'
* commit 'f8a1ead0ae4402df0503c83f213f57b785a5f20f': build: Add -D_XOPEN_SOURCE=600 to CPPFLAGS on Cygwin Merged-by: Clément Bœsch <u@pkh.me>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 58990feb3e..017a83eb03 100755
--- a/configure
+++ b/configure
@@ -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