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

Appearance settings

Commit e7ad59b

Browse filesBrowse files
authored
gh-133568: Only set HAVE_AF_HYPERV on supported WinAPI partitions (GH-133569)
1 parent e528aef commit e7ad59b
Copy full SHA for e7ad59b

File tree

2 files changed

+2
-1
lines changed
Filter options

2 files changed

+2
-1
lines changed
+1Lines 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

Copy file name to clipboardExpand all lines: Modules/socketmodule.h
+1-1Lines 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
# define HAVE_AF_HYPERV
264264
#endif
265265

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.