Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:44:51

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