Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-18 08:47:46

0001 #ifndef BOOST_LEAF_CONFIG_TLS_HPP_INCLUDED
0002 #define BOOST_LEAF_CONFIG_TLS_HPP_INCLUDED
0003 
0004 // Copyright 2018-2024 Emil Dotchevski and Reverge Studios, Inc.
0005 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0006 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 
0008 #if defined(BOOST_LEAF_TLS_FREERTOS)
0009 #   include <boost/leaf/config/tls_freertos.hpp>
0010 #endif
0011 
0012 #ifndef BOOST_LEAF_USE_TLS_ARRAY
0013 #   ifdef BOOST_LEAF_CFG_TLS_INDEX_TYPE
0014 #       warning "BOOST_LEAF_CFG_TLS_INDEX_TYPE" is ignored if BOOST_LEAF_USE_TLS_ARRAY is not defined.
0015 #   endif
0016 #   ifdef BOOST_LEAF_CFG_TLS_ARRAY_SIZE
0017 #       warning "BOOST_LEAF_CFG_TLS_ARRAY_SIZE" is ignored if BOOST_LEAF_USE_TLS_ARRAY is not defined.
0018 #   endif
0019 #   ifdef BOOST_LEAF_CFG_TLS_ARRAY_START_INDEX
0020 #       warning "BOOST_LEAF_CFG_TLS_ARRAY_START_INDEX" is ignored if BOOST_LEAF_USE_TLS_ARRAY is not defined.
0021 #   endif
0022 #endif
0023 
0024 #if defined BOOST_LEAF_USE_TLS_ARRAY
0025 #   include <boost/leaf/config/tls_array.hpp>
0026 #elif defined(BOOST_LEAF_NO_THREADS)
0027 #   include <boost/leaf/config/tls_globals.hpp>
0028 #else
0029 #   include <boost/leaf/config/tls_cpp11.hpp>
0030 #endif
0031 
0032 #endif // BOOST_LEAF_CONFIG_TLS_HPP_INCLUDED