summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon TURNEY <[email protected]>2014-07-09 15:09:32 +0100
committerJon TURNEY <[email protected]>2014-07-11 15:26:02 +0100
commitf381c27c548aa28b003c8e188f5d627ab4105f76 (patch)
treee22d8b938bb9ac08b2f1d5e285825fd7aa1f971c
parentda46b9de9f2eaf462399b0efbaa5ff17d4db6146 (diff)
configure: Cygwin requires _XOPEN_SOURCE >= 700 to prototype strndup()
Adjust definition of _XOPEN_SOURCE appropriately for use of strndup() added with commit da3a47d6 Signed-off-by: Jon TURNEY <[email protected]>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0d4e26d3527..48f5f815ef4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,7 +159,7 @@ solaris*)
DEFINES="$DEFINES -DHAVE_PTHREAD -DSVR4"
;;
cygwin*)
- DEFINES="$DEFINES -D_XOPEN_SOURCE=500 -DHAVE_PTHREAD"
+ DEFINES="$DEFINES -D_XOPEN_SOURCE=700 -DHAVE_PTHREAD"
;;
esac