2 // (C) Copyright Edward Diener 2012
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
7 #if !defined(BOOST_TTI_DETAIL_NULLPTR_HPP)
8 #define BOOST_TTI_DETAIL_NULLPTR_HPP
10 #include <boost/config.hpp>
12 #if defined(BOOST_NO_CXX11_NULLPTR)
14 #define BOOST_TTI_DETAIL_NULLPTR 0
16 #else // !BOOST_NO_CXX11_NULLPTR
18 #define BOOST_TTI_DETAIL_NULLPTR nullptr
20 #endif // BOOST_NO_CXX11_NULLPTR
22 #endif // BOOST_TTI_DETAIL_NULLPTR_HPP