vcpkg/ports/cpprestsdk/undef-minmax.patch
2017-12-19 10:26:27 -08:00

15 lines
402 B
Diff

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