Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
only set ``HAVE_AF_HYPERV`` for WinAPI partitions that support the rpc runtime library
2 changes: 1 addition & 1 deletion Modules/socketmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading