27 lines
721 B
C++
27 lines
721 B
C++
|
|
// (C) Copyright Edward Diener 2012
|
|
// Use, modification and distribution are subject to the Boost Software License,
|
|
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt).
|
|
|
|
#if !defined(ACTIV_BOOST_TTI_DETAIL_NULLPTR_HPP)
|
|
#define ACTIV_BOOST_TTI_DETAIL_NULLPTR_HPP
|
|
|
|
#include <ActivBoost/config.hpp>
|
|
|
|
#if defined(ACTIV_BOOST_NO_CXX11_NULLPTR)
|
|
|
|
#define ACTIV_BOOST_TTI_DETAIL_NULLPTR 0
|
|
|
|
#else // !ACTIV_BOOST_NO_CXX11_NULLPTR
|
|
|
|
#if (defined _MSC_VER) && (defined _M_CEE)
|
|
#define ACTIV_BOOST_TTI_DETAIL_NULLPTR __nullptr
|
|
#else
|
|
#define ACTIV_BOOST_TTI_DETAIL_NULLPTR nullptr
|
|
#endif
|
|
|
|
#endif // ACTIV_BOOST_NO_CXX11_NULLPTR
|
|
|
|
#endif // ACTIV_BOOST_TTI_DETAIL_NULLPTR_HPP
|