include_preprocessed.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
  2. // Copyright Aleksey Gurtovoy 2001-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/preprocessor.hpp>
  13. #include <boost/mpl/aux_/config/workaround.hpp>
  14. #include <boost/preprocessor/cat.hpp>
  15. #include <boost/preprocessor/stringize.hpp>
  16. #if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
  17. # define AUX778076_HEADER \
  18. plain/BOOST_MPL_PREPROCESSED_HEADER \
  19. /**/
  20. #else
  21. # define AUX778076_HEADER \
  22. BOOST_PP_CAT(plain,/)##BOOST_MPL_PREPROCESSED_HEADER \
  23. /**/
  24. #endif
  25. #if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(700))
  26. # define AUX778076_INCLUDE_STRING BOOST_PP_STRINGIZE(boost/mpl/set/aux_/preprocessed/AUX778076_HEADER)
  27. # include AUX778076_INCLUDE_STRING
  28. # undef AUX778076_INCLUDE_STRING
  29. #else
  30. # include BOOST_PP_STRINGIZE(boost/mpl/set/aux_/preprocessed/AUX778076_HEADER)
  31. #endif
  32. # undef AUX778076_HEADER
  33. #undef BOOST_MPL_PREPROCESSED_HEADER