From: Jon TURNEY Date: Wed, 9 Jul 2014 14:09:32 +0000 (+0100) Subject: configure: Cygwin requires _XOPEN_SOURCE >= 700 to prototype strndup() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f381c27c548aa28b003c8e188f5d627ab4105f76;p=mesa.git 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 --- 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