From ef651b667eebacda409b4db51c0e38e27ef6e4e3 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 30 Jul 2010 19:47:22 -0400 Subject: [PATCH] Fixed a typo in hashcomp.h for detecting what version of VC is in use --- include/hashcomp.h | 6 +++--- 1 file 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 # define unordered_map_namespace std::tr1 -# else /* gcc ver < 4.3 */ +# else /* GCC ver < 4 */ # include /* 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 # define unordered_map_namespace std::tr1