2 // Copyright (C) 2009-2012 Lorenzo Caminiti
3 // Distributed under the Boost Software License, Version 1.0
4 // (see accompanying file LICENSE_1_0.txt or a copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 // Home at http://www.boost.org/libs/local_function
8 #ifndef BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER_HPP_
9 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER_HPP_
11 #include <boost/config.hpp>
15 // MSVC has problems expanding __LINE__ so use (the non standard) __COUNTER__.
17 # define BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER __COUNTER__
19 # define BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER __LINE__
22 #endif // #include guard