Changeset 63837


Ignore:
Timestamp:
Jul 11, 2010, 4:15:19 AM (8 years ago)
Author:
chris_kohlhoff
Message:

Add macro for disabling fenced blocks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/boost/asio/detail/fenced_block.hpp

    r63776 r63837  
    1818#include <boost/asio/detail/config.hpp>
    1919
    20 #if !defined(BOOST_HAS_THREADS) || defined(BOOST_ASIO_DISABLE_THREADS)
     20#if !defined(BOOST_HAS_THREADS) \
     21  || defined(BOOST_ASIO_DISABLE_THREADS) \
     22  || defined(BOOST_ASIO_DISABLE_FENCED_BLOCK)
    2123# include <boost/asio/detail/null_fenced_block.hpp>
    2224#elif defined(__MACH__) && defined(__APPLE__)
     
    4547namespace detail {
    4648
    47 #if !defined(BOOST_HAS_THREADS) || defined(BOOST_ASIO_DISABLE_THREADS)
     49#if !defined(BOOST_HAS_THREADS) \
     50  || defined(BOOST_ASIO_DISABLE_THREADS) \
     51  || defined(BOOST_ASIO_DISABLE_FENCED_BLOCK)
    4852typedef null_fenced_block fenced_block;
    4953#elif defined(__MACH__) && defined(__APPLE__)
Note: See TracChangeset for help on using the changeset viewer.