aboutsummaryrefslogtreecommitdiff
path: root/ports/cryptopp/patch.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-03-29 18:34:38 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-03-29 18:34:38 -0700
commitca58367c9ae70739eb55fa46ed2b339e3aaf50df (patch)
tree86f18ab3325a3ac7766f2b63011bc44b4ab5560f /ports/cryptopp/patch.patch
parentba7b8e6d7336fd4529cfe1de50b224a98d6ff496 (diff)
downloadvcpkg-ca58367c9ae70739eb55fa46ed2b339e3aaf50df.tar.gz
vcpkg-ca58367c9ae70739eb55fa46ed2b339e3aaf50df.zip
[cryptopp] Fix UWP builds
Diffstat (limited to 'ports/cryptopp/patch.patch')
-rw-r--r--ports/cryptopp/patch.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/cryptopp/patch.patch b/ports/cryptopp/patch.patch
new file mode 100644
index 000000000..5c49d2757
--- /dev/null
+++ b/ports/cryptopp/patch.patch
@@ -0,0 +1,12 @@
+diff --git a/config.h b/config.h
+index b96b7aa..3f004ac 100644
+--- a/config.h
++++ b/config.h
+@@ -795,6 +795,7 @@ NAMESPACE_END
+ #endif
+
+ #ifdef CRYPTOPP_WIN32_AVAILABLE
++#include <winapifamily.h>
+ # if !defined(WINAPI_FAMILY)
+ # define THREAD_TIMER_AVAILABLE
+ # elif defined(WINAPI_FAMILY)