gh-133568: Only set HAVE_AF_HYPERV
on supported WinAPI partitions (GH-133569)
This commit is contained in:
parent
e528aef7e2
commit
e7ad59bd73
@ -0,0 +1 @@
|
||||
Fix compile error when using a WinAPI partition that doesn't support the RPC runtime library.
|
@ -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…
x
Reference in New Issue
Block a user