aboutsummaryrefslogtreecommitdiff
path: root/ports/cpprestsdk/undef-minmax.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-12-19 16:10:50 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-12-19 16:10:50 -0800
commit891e72af66d173c7e09cc3e52475309e2191e18d (patch)
tree92a175f06a35574609a44be679c4b871e733c0d3 /ports/cpprestsdk/undef-minmax.patch
parenta6ee2c145fca2006848ef9afbf580ea88bee7dd1 (diff)
parent8791faba96649f9536e33f41c14781652790d084 (diff)
downloadvcpkg-891e72af66d173c7e09cc3e52475309e2191e18d.tar.gz
vcpkg-891e72af66d173c7e09cc3e52475309e2191e18d.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg
Diffstat (limited to 'ports/cpprestsdk/undef-minmax.patch')
-rw-r--r--ports/cpprestsdk/undef-minmax.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/cpprestsdk/undef-minmax.patch b/ports/cpprestsdk/undef-minmax.patch
new file mode 100644
index 000000000..4dc3bc019
--- /dev/null
+++ b/ports/cpprestsdk/undef-minmax.patch
@@ -0,0 +1,14 @@
+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