diff options
| author | wangli28 <47812810+wangli28@users.noreply.github.com> | 2019-06-10 17:02:30 +0000 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-06-10 10:02:30 -0700 |
| commit | 88a3c99f07615fc254f85524b0690ae890e340ab (patch) | |
| tree | bcda174f648624c5e4715be299c920949bb17a64 /ports/boost-thread/avoid-winapi.patch | |
| parent | 05981587ce8fbf729c27234d2807269a459553d6 (diff) | |
| download | vcpkg-88a3c99f07615fc254f85524b0690ae890e340ab.tar.gz vcpkg-88a3c99f07615fc254f85524b0690ae890e340ab.zip | |
[boost-thread] Fix old patches (#6840)
* [boost-thread] Fix old patches
* [boost-thread] Modify version
Diffstat (limited to 'ports/boost-thread/avoid-winapi.patch')
| -rw-r--r-- | ports/boost-thread/avoid-winapi.patch | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ports/boost-thread/avoid-winapi.patch b/ports/boost-thread/avoid-winapi.patch index ed6a89ee7..2308600ea 100644 --- a/ports/boost-thread/avoid-winapi.patch +++ b/ports/boost-thread/avoid-winapi.patch @@ -1,13 +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
+diff --git a/include/boost/thread/win32/thread_primitives.hpp b/include/boost/thread/win32/thread_primitives.hpp +index e075140..d60ab36 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 (BOOST_WINAPI_WINAPI_CC *gettickcount64_t)(); } ++ namespace detail { typedef ticks_type (__stdcall *gettickcount64_t)(); } + extern BOOST_THREAD_DECL boost::detail::win32::detail::gettickcount64_t gettickcount64; + + enum event_type |
