Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76bafc6

Browse files
committed
Patch #814764: Undefine xopen_source on OpenBSD 3.4. Backported to 2.3.
1 parent 6f75a36 commit 76bafc6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,8 +1437,8 @@ fi
14371437
case $ac_sys_system/$ac_sys_release in
14381438
# On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
14391439
# even though select is a POSIX function. Reported by J. Ribbens.
1440-
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm.
1441-
OpenBSD/2.* | OpenBSD/3.[0123])
1440+
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
1441+
OpenBSD/2.* | OpenBSD/3.[01234])
14421442
define_xopen_source=no;;
14431443
# On Solaris 2.6, sys/wait.h is inconsistent in the usage
14441444
# of union __?sigval. Reported by Stuart Bishop.

configure.in

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

0 commit comments

Comments
 (0)