Skip to content

Commit c4a53e4

Browse files
BPO-41100: Support macOS 11 when building (GH-21113)
(cherry picked from commit 8ea6353) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
1 parent 8075fe1 commit c4a53e4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Support macOS 11 when building.

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3398,7 +3398,7 @@ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
33983398
# has no effect, don't bother defining them
33993399
Darwin/[6789].*)
34003400
define_xopen_source=no;;
3401-
Darwin/1[0-9].*)
3401+
Darwin/[12][0-9].*)
34023402
define_xopen_source=no;;
34033403
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
34043404
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ case $ac_sys_system/$ac_sys_release in
498498
# has no effect, don't bother defining them
499499
Darwin/@<:@6789@:>@.*)
500500
define_xopen_source=no;;
501-
Darwin/1@<:@0-9@:>@.*)
501+
Darwin/@<:@[12]@:>@@<:@0-9@:>@.*)
502502
define_xopen_source=no;;
503503
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
504504
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined

0 commit comments

Comments
 (0)