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 <jon.turney@dronecode.org.uk>
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user