diff options
author | Christian Heimes <christian@python.org> | 2021-11-08 11:48:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 11:48:34 (GMT) |
commit | 24af9a40a8f85af813ea89998aa4e931fcc78cd9 (patch) | |
tree | a9da84c63fd4eaa18e7cd5c5d11c652289f4d62e /Modules/socketmodule.c | |
parent | 122ca4d73faba279a579aa2011fa34661ce537a2 (diff) | |
download | cpython-24af9a40a8f85af813ea89998aa4e931fcc78cd9.zip cpython-24af9a40a8f85af813ea89998aa4e931fcc78cd9.tar.gz cpython-24af9a40a8f85af813ea89998aa4e931fcc78cd9.tar.bz2 |
bpo-45743: Move __APPLE_USE_RFC_3542 into socketmodule.c (GH-29456)
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 50962c4..ed1043c 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -86,6 +86,8 @@ Local naming conventions: */ #ifdef __APPLE__ +// Issue #35569: Expose RFC 3542 socket options. +#define __APPLE_USE_RFC_3542 1 #include <AvailabilityMacros.h> /* for getaddrinfo thread safety test on old versions of OS X */ #ifndef MAC_OS_X_VERSION_10_5 |