Skip to content

Commit ae13a22

Browse files
ronaldoussorenphrfpeixoto
authored andcommitted
BPO-41100: Support macOS 11 when building (pythonGH-21113)
1 parent 4134f15 commit ae13a22

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

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
@@ -3375,7 +3375,7 @@ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
33753375
# has no effect, don't bother defining them
33763376
Darwin/[6789].*)
33773377
define_xopen_source=no;;
3378-
Darwin/1[0-9].*)
3378+
Darwin/[12][0-9].*)
33793379
define_xopen_source=no;;
33803380
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
33813381
# 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
@@ -495,7 +495,7 @@ case $ac_sys_system/$ac_sys_release in
495495
# has no effect, don't bother defining them
496496
Darwin/@<:@6789@:>@.*)
497497
define_xopen_source=no;;
498-
Darwin/1@<:@0-9@:>@.*)
498+
Darwin/@<:@[12]@:>@@<:@0-9@:>@.*)
499499
define_xopen_source=no;;
500500
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
501501
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined

0 commit comments

Comments
 (0)