include_preprocessed.hpp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
  2. // Copyright Aleksey Gurtovoy 2000-2006
  3. //
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. // See http://www.boost.org/libs/mpl for documentation.
  9. // $Id$
  10. // $Date$
  11. // $Revision$
  12. #include <boost/mpl/aux_/config/compiler.hpp>
  13. #include <boost/mpl/aux_/config/preprocessor.hpp>
  14. #include <boost/mpl/aux_/config/workaround.hpp>
  15. #include <boost/preprocessor/cat.hpp>
  16. #include <boost/preprocessor/stringize.hpp>
  17. #if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
  18. # define AUX778076_PREPROCESSED_HEADER \
  19. BOOST_MPL_CFG_COMPILER_DIR/BOOST_MPL_PREPROCESSED_HEADER \
  20. /**/
  21. #else
  22. # define AUX778076_PREPROCESSED_HEADER \
  23. BOOST_PP_CAT(BOOST_MPL_CFG_COMPILER_DIR,/)##BOOST_MPL_PREPROCESSED_HEADER \
  24. /**/
  25. #endif
  26. #if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(700))
  27. # define AUX778076_INCLUDE_STRING BOOST_PP_STRINGIZE(boost/mpl/aux_/preprocessed/AUX778076_PREPROCESSED_HEADER)
  28. # include AUX778076_INCLUDE_STRING
  29. # undef AUX778076_INCLUDE_STRING
  30. #else
  31. # include BOOST_PP_STRINGIZE(boost/mpl/aux_/preprocessed/AUX778076_PREPROCESSED_HEADER)
  32. #endif
  33. # undef AUX778076_PREPROCESSED_HEADER
  34. #undef BOOST_MPL_PREPROCESSED_HEADER