Skip to content

Commit

Permalink
Include <boost/functional/hash.hpp> if required
Browse files Browse the repository at this point in the history
  • Loading branch information
ecatmur committed Feb 16, 2017
1 parent f71d9eb commit 8c58236
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/boost/type_index/stl_type_index.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
#include <boost/mpl/if.hpp>
#include <boost/mpl/or.hpp>

#if !(_MSC_VER > 1600 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5 && defined(__GXX_EXPERIMENTAL_CXX0X__)))
# include <boost/functional/hash/hash.hpp>
#endif

#if (defined(__EDG_VERSION__) && __EDG_VERSION__ < 245) \
|| (defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 744)
# include <boost/type_traits/is_signed.hpp>
Expand Down

0 comments on commit 8c58236

Please sign in to comment.