vcpkg/ports/cpprestsdk/undef-minmax.patch

15 lines
402 B
Diff
Raw Normal View History

diff --git a/Release/src/http/client/http_client_winrt.cpp b/Release/src/http/client/http_client_winrt.cpp
index 697f48a..4ada65a 100644
--- a/Release/src/http/client/http_client_winrt.cpp
+++ b/Release/src/http/client/http_client_winrt.cpp
@@ -28,6 +28,9 @@ using namespace std;
using namespace Platform;
using namespace Microsoft::WRL;
+#undef min
+#undef max
+
namespace web
{
namespace http