diff options
author | Adam <Adam@anope.org> | 2010-07-30 19:47:22 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-07-30 19:47:22 -0400 |
commit | ef651b667eebacda409b4db51c0e38e27ef6e4e3 (patch) | |
tree | d5fa3904757e902c512ec79bfa7506500cccdc11 /include/hashcomp.h | |
parent | 7a7b8933bbf15d1aeeb4a58895013fa73383ca2e (diff) |
Fixed a typo in hashcomp.h for detecting what version of VC is in use
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r-- | include/hashcomp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 84e4bcf0b..8fb76bcd0 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -35,17 +35,17 @@ namespace Anope #ifndef _WIN32 # if defined(__GNUC__) && __GNUC__ >= 4 -/* GCC4.3+ has deprecated hash_map and uses tr1. But of course, uses a different include to MSVC. */ +/* GCC4+ has deprecated hash_map and uses tr1. But of course, uses a different include to MSVC. */ # include <tr1/unordered_map> # define unordered_map_namespace std::tr1 -# else /* gcc ver < 4.3 */ +# else /* GCC ver < 4 */ # include <ext/hash_map> /* Oddball linux namespace for hash_map */ # define unordered_map_namespace __gnu_cxx # define unordered_map hash_map # endif #else -# if _MSV_VER >= 1600 +# if _MSC_VER >= 1600 /* MSVC 2010+ has tr1. Though MSVC and GCC use different includes! */ # include <unordered_map> # define unordered_map_namespace std::tr1 |