123456789101112131415161718192021222324252627282930313233 |
- #ifndef BOOST_LEAF_CONFIG_TLS_HPP_INCLUDED
- #define BOOST_LEAF_CONFIG_TLS_HPP_INCLUDED
- #if defined(BOOST_LEAF_TLS_FREERTOS)
- # include <boost/leaf/config/tls_freertos.hpp>
- #endif
- #ifndef BOOST_LEAF_USE_TLS_ARRAY
- # ifdef BOOST_LEAF_CFG_TLS_INDEX_TYPE
- # warning "BOOST_LEAF_CFG_TLS_INDEX_TYPE" is ignored if BOOST_LEAF_USE_TLS_ARRAY is not defined.
- # endif
- # ifdef BOOST_LEAF_CFG_TLS_ARRAY_SIZE
- # warning "BOOST_LEAF_CFG_TLS_ARRAY_SIZE" is ignored if BOOST_LEAF_USE_TLS_ARRAY is not defined.
- # endif
- # ifdef BOOST_LEAF_CFG_TLS_ARRAY_START_INDEX
- # warning "BOOST_LEAF_CFG_TLS_ARRAY_START_INDEX" is ignored if BOOST_LEAF_USE_TLS_ARRAY is not defined.
- # endif
- #endif
- #if defined BOOST_LEAF_USE_TLS_ARRAY
- # include <boost/leaf/config/tls_array.hpp>
- #elif defined(BOOST_LEAF_NO_THREADS)
- # include <boost/leaf/config/tls_globals.hpp>
- #else
- # include <boost/leaf/config/tls_cpp11.hpp>
- #endif
- #endif
|