libmoost
/home/mhx/git/github/libmoost/include/moost/container/memory_mapped_dataset/config.hpp
Go to the documentation of this file.
00001 /* vim:set ts=3 sw=3 sts=3 et: */
00028 #ifndef MOOST_CONTAINER_MEMORY_MAPPED_DATASET_CONFIG_HPP__
00029 #define MOOST_CONTAINER_MEMORY_MAPPED_DATASET_CONFIG_HPP__
00030 
00031 #ifdef WIN32
00032 # include <hash_map>
00033 # define MMD_DEFAULT_HASH_FCN stdext::hash_compare
00034 #else
00035 # include <tr1/functional>
00036 # define MMD_DEFAULT_HASH_FCN std::tr1::hash
00037 #endif
00038 
00039 #include <boost/static_assert.hpp>
00040 
00041 #ifndef BOOST_STATIC_ASSERT_MSG
00042 #  define BOOST_STATIC_ASSERT_MSG(a, b) BOOST_STATIC_ASSERT(a)
00043 #endif
00044 
00045 #endif