From db4c0e83f730b3f46d185584a470f49f89cada11 Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Sun, 3 Dec 2017 19:17:12 +1100 Subject: [PATCH] Disable boost.chrono error handling. --- asio/src/Makefile.msc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/asio/src/Makefile.msc b/asio/src/Makefile.msc index 8716bd30..826fe6d7 100644 --- a/asio/src/Makefile.msc +++ b/asio/src/Makefile.msc @@ -42,22 +42,26 @@ _WIN32_WINNT=0x0501 DEFINES = \ -DASIO_DISABLE_IOCP \ -D_WIN32_WINNT=$(_WIN32_WINNT) \ - -DBOOST_ALL_NO_LIB + -DBOOST_ALL_NO_LIB \ + -DBOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING !else ! ifdef STORE DEFINES = \ -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP \ -DBOOST_ALL_NO_LIB -D_WIN32_WINNT=$(_WIN32_WINNT) \ - -DUNICODE -D_UNICODE + -DUNICODE -D_UNICODE \ + -DBOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING ! else ! ifdef WINRT DEFINES = \ -ZW -FI SDKDDKVer.h -FI winapifamily.h -DWINAPI_FAMILY=WINAPI_PARTITION_APP \ - -DBOOST_ALL_NO_LIB + -DBOOST_ALL_NO_LIB \ + -DBOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING ! else DEFINES = \ -D_WIN32_WINNT=$(_WIN32_WINNT) \ - -DBOOST_ALL_NO_LIB + -DBOOST_ALL_NO_LIB \ + -DBOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING ! endif ! endif !endif