summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-07-30 19:47:22 -0400
committerAdam <Adam@anope.org>2010-07-30 19:47:22 -0400
commitef651b667eebacda409b4db51c0e38e27ef6e4e3 (patch)
treed5fa3904757e902c512ec79bfa7506500cccdc11 /include/hashcomp.h
parent7a7b8933bbf15d1aeeb4a58895013fa73383ca2e (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.h6
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