Skip to content

Commit

Permalink
Remove _WIN32_WINNT define in awssdk_ep.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
amoeba committed Feb 5, 2025
1 parent fabef71 commit a13ccf0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ci/rtools/awssdk_ep.patch
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,6 @@ index d7513cc3c..e390a8d4e 100644
{
response->SetClientErrorType(CoreErrors::USER_CANCELLED);
response->SetClientErrorMessage("Request processing disabled or continuation cancelled by user's continuation handler.");
diff --git a/aws-cpp-sdk-core/source/net/windows/SimpleUDP.cpp b/aws-cpp-sdk-core/source/net/windows/SimpleUDP.cpp
index f6e36077e..13e349aef 100644
--- a/aws-cpp-sdk-core/source/net/windows/SimpleUDP.cpp
+++ b/aws-cpp-sdk-core/source/net/windows/SimpleUDP.cpp
@@ -3,6 +3,7 @@
* SPDX-License-Identifier: Apache-2.0.
*/

+#define _WIN32_WINNT 0x0601
#include <WinSock2.h>
#include <Ws2ipdef.h>
#include <Ws2tcpip.h>
diff --git a/aws-cpp-sdk-core/source/platform/windows/FileSystem.cpp b/aws-cpp-sdk-core/source/platform/windows/FileSystem.cpp
index 2ea82de6f..bc423441e 100644
--- a/aws-cpp-sdk-core/source/platform/windows/FileSystem.cpp
Expand Down

0 comments on commit a13ccf0

Please sign in to comment.