aboutsummaryrefslogtreecommitdiff
path: root/ports/boost-thread/avoid-winapi.patch
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2018-12-06 15:06:28 -0800
committerPhil Christensen <philc@microsoft.com>2018-12-06 15:06:28 -0800
commit7347305e8459fcc78553a9f88196e0d93eb0a8fe (patch)
treeac9eee9ff267c6a71a83249bed7a94f02b00d9a5 /ports/boost-thread/avoid-winapi.patch
parented9357a5aafea7192932b5874264bd103fc61255 (diff)
parent63c1b2628e958f8e02356411f032941c0c2f3bbb (diff)
downloadvcpkg-7347305e8459fcc78553a9f88196e0d93eb0a8fe.tar.gz
vcpkg-7347305e8459fcc78553a9f88196e0d93eb0a8fe.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/3425
Diffstat (limited to 'ports/boost-thread/avoid-winapi.patch')
-rw-r--r--ports/boost-thread/avoid-winapi.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/boost-thread/avoid-winapi.patch b/ports/boost-thread/avoid-winapi.patch
new file mode 100644
index 000000000..ed6a89ee7
--- /dev/null
+++ b/ports/boost-thread/avoid-winapi.patch
@@ -0,0 +1,13 @@
+diff --git a/include/boost/thread/win32/thread_primitives.hpp b/include/boost/thread/win32/thread_primitives.hpp
+index 5e378f7..6144621 100644
+--- a/include/boost/thread/win32/thread_primitives.hpp
++++ b/include/boost/thread/win32/thread_primitives.hpp
+@@ -70,7 +70,7 @@ namespace boost
+ {
+ namespace win32
+ {
+- namespace detail { typedef ticks_type (WINAPI *gettickcount64_t)(); }
++ namespace detail { typedef ticks_type (__stdcall *gettickcount64_t)(); }
+ extern BOOST_THREAD_DECL boost::detail::win32::detail::gettickcount64_t gettickcount64;
+
+ enum event_type