summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-09-07 20:29:43 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-09-07 20:29:43 (GMT)
commit14d098d3ac4030e0b07a428a54db71e58048f52f (patch)
tree1cf8343a828582d163ffa62e4a6f80d4f6ba6c01 /configure.in
parent3d5881ec2b600d59c38ca757ecdbfaf6c7d976cf (diff)
downloadcpython-14d098d3ac4030e0b07a428a54db71e58048f52f.zip
cpython-14d098d3ac4030e0b07a428a54db71e58048f52f.tar.gz
cpython-14d098d3ac4030e0b07a428a54db71e58048f52f.tar.bz2
Issue #12852: Set _XOPEN_SOURCE to 700 to get POSIX 2008
configure: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008 functions on OpenBSD (e.g. fdopendir).
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 5b0f11e..f9be64a 100644
--- a/configure.in
+++ b/configure.in
@@ -397,7 +397,8 @@ esac
if test $define_xopen_source = yes
then
- AC_DEFINE(_XOPEN_SOURCE, 600,
+ # X/Open 7, incorporating POSIX.1-2008
+ AC_DEFINE(_XOPEN_SOURCE, 700,
Define to the level of X/Open that your system supports)
# On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires