bpo-45743: Move __APPLE_USE_RFC_3542 into socketmodule.c (GH-29456)

This commit is contained in:
Christian Heimes 2021-11-08 13:48:34 +02:00 committed by GitHub
parent 122ca4d73f
commit 24af9a40a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View file

@ -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