10000 BPO-41100: Support macOS 11 when building (GH-21113) (GH-21155) · python/cpython@cfbc759 · GitHub
[go: up one dir, main page]

Skip to content

Commit cfbc759

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

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
@@ -3374,7 +3374,7 @@ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
33743374
# has no effect, don't bother defining them
33753375
Darwin/[6789].*)
33763376
define_xopen_source=no;;
3377-
Darwin/1[0-9].*)
3377+
Darwin/[12][0-9].*)
33783378
define_xopen_source=no;;
33793379
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
33803380
# 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
@@ -490,7 +490,7 @@ case $ac_sys_system/$ac_sys_release in
490490
# has no effect, don't bother defining them
491491
Darwin/@<:@6789@:>@.*)
492492
define_xopen_source=no;;
493-
Darwin/1@<:@0-9@:>@.*)
493+
Darwin/@<:@[12]@:>@@<:@0-9@:>@.*)
494494
define_xopen_source=no;;
495495
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
496496
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined

0 commit comments

Comments
 (0)
0