Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 140fdc1

Browse files
miss-islingtonronaldoussoren
authored andcommitted
BPO-41100: Support macOS 11 when building (GH-21113)
(cherry picked from commit 8ea6353) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
1 parent b29ef1d commit 140fdc1

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
@@ -3420,7 +3420,7 @@ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
34203420
# has no effect, don't bother defining them
34213421
Darwin/[6789].*)
34223422
define_xopen_source=no;;
3423-
Darwin/1[0-9].*)
3423+
Darwin/[12][0-9].*)
34243424
define_xopen_source=no;;
34253425
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
34263426
# 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
@@ -512,7 +512,7 @@ case $ac_sys_system/$ac_sys_release in
512512
# has no effect, don't bother defining them
513513
Darwin/@<:@6789@:>@.*)
514514
define_xopen_source=no;;
515-
Darwin/1@<:@0-9@:>@.*)
515+
Darwin/@<:@[12]@:>@@<:@0-9@:>@.*)
516516
define_xopen_source=no;;
517517
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
518518
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined

0 commit comments

Comments
 (0)