mirror of
https://github.com/boostorg/sync.git
synced 2026-01-19 04:42:12 +00:00
Use more fine-grained includes from Boost.Atomic.
This avoids including headers with IPC atomics, which are not used in Boost.Sync.
This commit is contained in:
@@ -39,7 +39,10 @@
|
||||
#ifdef BOOST_SYNC_USE_STD_ATOMIC
|
||||
#include <atomic>
|
||||
#else
|
||||
#include <boost/atomic.hpp>
|
||||
#include <boost/memory_order.hpp>
|
||||
#include <boost/atomic/atomic.hpp>
|
||||
#include <boost/atomic/atomic_flag.hpp>
|
||||
#include <boost/atomic/fences.hpp>
|
||||
#endif
|
||||
|
||||
#include <boost/sync/detail/header.hpp>
|
||||
|
||||
Reference in New Issue
Block a user