diff options
| author | Christian Heimes <christian@python.org> | 2021-11-08 13:48:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-08 12:48:34 +0100 |
| commit | 24af9a40a8f85af813ea89998aa4e931fcc78cd9 (patch) | |
| tree | a9da84c63fd4eaa18e7cd5c5d11c652289f4d62e /Modules/socketmodule.c | |
| parent | 122ca4d73faba279a579aa2011fa34661ce537a2 (diff) | |
| download | cpython-git-24af9a40a8f85af813ea89998aa4e931fcc78cd9.tar.gz | |
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 50962c41cd..ed1043c0c4 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 |
