config.hpp 793 B

12345678910111213141516171819202122232425
  1. // Copyright 2005-2009 Daniel James.
  2. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  3. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. #if defined(BOOST_HASH_TEST_STD)
  5. # define BOOST_HASH_TEST_STD_INCLUDES
  6. # define BOOST_HASH_TEST_NAMESPACE std
  7. #else
  8. # define BOOST_HASH_TEST_NAMESPACE boost
  9. # if !defined(BOOST_HASH_NO_EXTENSIONS)
  10. # define BOOST_HASH_TEST_EXTENSIONS
  11. # endif
  12. #endif
  13. #if defined(_WIN32_WCE)
  14. // The standard windows mobile headers trigger this warning so I disable it
  15. // before doing anything else.
  16. #pragma warning(disable:4201) // nonstandard extension used :
  17. // nameless struct/union
  18. #endif
  19. #define HASH_TEST_CAT(x, y) HASH_TEST_CAT2(x, y)
  20. #define HASH_TEST_CAT2(x, y) x##y