vcpkg/ports/outcome/fix-status-code-include.patch
Henrik Gaßmann 31d77f607b
[outcome] Update to version 2.2.3 (#25855)
* [outcome] Update to version 2.2.3

* [outcome] Add license information

* [outcome] Refactor deprecated functions

* [status-code] Update to latest version compatible with outcome 2.2.3

* [outcome] Provide polyfill features and extract status-code

* [outcome] Remove msvc linkage patch

* [llfio] Teach port about outcome polyfills

* [llfio] Fix vendored status-code include path

* [outcome][status-code][llfio] update version database

* Don't switch C++ standard version on polyfill feature

* [outcome] Fix version entry

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-09-02 10:40:12 -07:00

17 lines
609 B
Diff

diff --git a/include/outcome/experimental/coroutine_support.hpp b/include/outcome/experimental/coroutine_support.hpp
index 21759ede58..6c4b152294 100644
--- a/include/outcome/experimental/coroutine_support.hpp
+++ b/include/outcome/experimental/coroutine_support.hpp
@@ -45,7 +45,11 @@ Distributed under the Boost Software License, Version 1.0.
OUTCOME_V2_NAMESPACE_END
#ifdef __cpp_exceptions
+#if 0
#include "status-code/include/system_code_from_exception.hpp"
+#else
+#include <status-code/system_code_from_exception.hpp>
+#endif
OUTCOME_V2_NAMESPACE_BEGIN
namespace awaitables
{