aboutsummaryrefslogtreecommitdiff
path: root/ports/cpprestsdk/undef-minmax.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-12-19 16:01:58 -0800
committerGitHub <noreply@github.com>2017-12-19 16:01:58 -0800
commitf381823f70cab2d6f4ced32429fd3238b003d622 (patch)
tree077ea03cd27787d528558bde830369a388b9ab68 /ports/cpprestsdk/undef-minmax.patch
parent9ed81627e7feb28bea6432581cf25730a9f145be (diff)
parentb79395c4adf076dc57db2f7c1b0c38db4cc94f72 (diff)
downloadvcpkg-f381823f70cab2d6f4ced32429fd3238b003d622.tar.gz
vcpkg-f381823f70cab2d6f4ced32429fd3238b003d622.zip
Merge pull request #2269 from Microsoft/boost-modular
[boost] Modularize and update to 1.66
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