Mesa (master): configure: Cygwin requires _XOPEN_SOURCE >= 700 to prototype strndup()
Jon TURNEY
jturney at kemper.freedesktop.org
Fri Jul 11 14:28:11 UTC 2014
Module: Mesa
Branch: master
Commit: f381c27c548aa28b003c8e188f5d627ab4105f76
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f381c27c548aa28b003c8e188f5d627ab4105f76
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Wed Jul 9 15:09:32 2014 +0100
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 at dronecode.org.uk>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 0d4e26d..48f5f81 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
More information about the mesa-commit
mailing list