]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92658: AF_HYPERV is only supported on Windows (#93192)
authorVictor Stinner <vstinner@python.org>
Wed, 25 May 2022 02:44:57 +0000 (04:44 +0200)
committerGitHub <noreply@github.com>
Wed, 25 May 2022 02:44:57 +0000 (04:44 +0200)
commit08e4e887f2d4650972272b2f4441485f3e1e9aab
tree14594e7645b5241947b510a672aed3de3f1f34e8
parentac1dcb8ee7745561407130bb917de3277528d4f6
gh-92658: AF_HYPERV is only supported on Windows (#93192)

Only build the AF_HYPERV support on Windows for the _socket extension.
FreeBSD defines the AF_HYPERV macro but doesn't have the SOCKADDR_HV
type.
Modules/socketmodule.c
Modules/socketmodule.h