Fix MSVC version check -- I was given bad info.

This commit is contained in:
kenton@google.com 2009-10-12 19:30:50 +00:00
parent c91e1fe82b
commit 1a4193c2cb

View File

@ -9,7 +9,7 @@
// in MSVC 2010: // in MSVC 2010:
// http://blogs.msdn.com/vcblog/archive/2009/05/25/stl-breaking-changes-in-visual-studio-2010-beta-1.aspx // http://blogs.msdn.com/vcblog/archive/2009/05/25/stl-breaking-changes-in-visual-studio-2010-beta-1.aspx
// TODO(kenton): Use unordered_map instead, which is available in MSVC 2010. // TODO(kenton): Use unordered_map instead, which is available in MSVC 2010.
#if _MSC_VER < 1310 || _MSC_VER >= 1500 #if _MSC_VER < 1310 || _MSC_VER >= 1600
#define HASH_NAMESPACE std #define HASH_NAMESPACE std
#else #else
#define HASH_NAMESPACE stdext #define HASH_NAMESPACE stdext