Patch #814764: Undefine xopen_source on OpenBSD 3.4. Backported to 2.3.

This commit is contained in:
Martin v. Löwis 2003-10-03 13:47:44 +00:00
parent 6f75a364e8
commit 76bafc64ce
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -1437,8 +1437,8 @@ fi
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
# On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined, # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
# even though select is a POSIX function. Reported by J. Ribbens. # even though select is a POSIX function. Reported by J. Ribbens.
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm. # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
OpenBSD/2.* | OpenBSD/3.[0123]) OpenBSD/2.* | OpenBSD/3.[01234])
define_xopen_source=no;; define_xopen_source=no;;
# On Solaris 2.6, sys/wait.h is inconsistent in the usage # On Solaris 2.6, sys/wait.h is inconsistent in the usage
# of union __?sigval. Reported by Stuart Bishop. # of union __?sigval. Reported by Stuart Bishop.

View File

@ -135,8 +135,8 @@ dnl quadrigraphs "@<:@" and "@:>@" produce "[" and "]" in the output
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
# On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined, # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
# even though select is a POSIX function. Reported by J. Ribbens. # even though select is a POSIX function. Reported by J. Ribbens.
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm. # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
OpenBSD/2.* | OpenBSD/3.@<:@0123@:>@) OpenBSD/2.* | OpenBSD/3.@<:@01234@:>@)
define_xopen_source=no;; define_xopen_source=no;;
# On Solaris 2.6, sys/wait.h is inconsistent in the usage # On Solaris 2.6, sys/wait.h is inconsistent in the usage
# of union __?sigval. Reported by Stuart Bishop. # of union __?sigval. Reported by Stuart Bishop.