2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-09 23:42:18 +00:00

Make it possible to compile with BOOST_NO_EXCEPTIONS defined

This commit is contained in:
Vicente J. Botet Escriba
2018-04-13 20:06:03 +02:00
parent 2b88759f43
commit 4d62627668
7 changed files with 51 additions and 14 deletions

View File

@@ -4,7 +4,14 @@
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/thread/detail/config.hpp>
#ifndef BOOST_NO_EXCEPTIONS
#ifdef BOOST_NO_EXCEPTIONS
namespace boost
{
void shared_state_base::notify_deferred() {}
}
#else
#include <boost/thread/futures/future_error_code.hpp>