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