We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b06f3 commit d7af175Copy full SHA for d7af175
Modules/socketmodule.h
@@ -77,7 +77,10 @@ struct SOCKADDR_BTH_REDEF {
77
typedef int socklen_t;
78
# endif /* IPPROTO_IPV6 */
79
80
-/* Future remove once Py_WINVER has been bumped to >=0x0604 */
+/* Remove ifdef once Py_WINVER >= 0x0604
81
+ * socket.h only defines AF_HYPERV if _WIN32_WINNT is at that level or higher
82
+ * so for now it's just manually defined.
83
+ */
84
# ifndef AF_HYPERV
85
# define AF_HYPERV 34
86
# endif
0 commit comments