Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite7ad59b

Browse files
authored
gh-133568: Only setHAVE_AF_HYPERV on supported WinAPI partitions (GH-133569)
1 parente528aef commite7ad59b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix compile error when using a WinAPI partition that doesn't support the RPC runtime library.

‎Modules/socketmodule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ typedef int SOCKET_T;
259259
#endif
260260

261261
// AF_HYPERV is only supported on Windows
262-
#if defined(AF_HYPERV)&& defined(MS_WINDOWS)
262+
#if defined(AF_HYPERV)&&(defined(MS_WINDOWS_APP)|| defined(MS_WINDOWS_SYSTEM))
263263
# defineHAVE_AF_HYPERV
264264
#endif
265265

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp