mirror of
https://github.com/python/cpython.git
synced 2025-09-14 20:56:06 +00:00
gh-133568: Only set HAVE_AF_HYPERV
on supported WinAPI partitions (GH-133569)
This commit is contained in:
parent
e528aef7e2
commit
e7ad59bd73
2 changed files with 2 additions and 1 deletions
|
@ -259,7 +259,7 @@ typedef int SOCKET_T;
|
|||
#endif
|
||||
|
||||
// AF_HYPERV is only supported on Windows
|
||||
#if defined(AF_HYPERV) && defined(MS_WINDOWS)
|
||||
#if defined(AF_HYPERV) && (defined(MS_WINDOWS_APP) || defined(MS_WINDOWS_SYSTEM))
|
||||
# define HAVE_AF_HYPERV
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue