1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 05:46:37 +02:00

Fixed a typo in hashcomp.h for detecting what version of VC is in use

This commit is contained in:
Adam
2010-07-30 19:47:22 -04:00
parent 7a7b8933bb
commit ef651b667e
+3 -3
View File
@@ -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