TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
config.h
Go to the documentation of this file.
1 /* protobuf config.h for MSVC. On other platforms, this is generated
2 * automatically by autoheader / autoconf / configure. */
3 
4 #define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
5 
6 /* the location of <hash_map> */
7 #define HASH_MAP_H <hash_map>
8 
9 /* the namespace of hash_map/hash_set */
10 // Apparently Microsoft decided to move hash_map *back* to the std namespace
11 // in MSVC 2010:
12 // http://blogs.msdn.com/vcblog/archive/2009/05/25/stl-breaking-changes-in-visual-studio-2010-beta-1.aspx
13 // TODO(kenton): Use unordered_map instead, which is available in MSVC 2010.
14 #if _MSC_VER < 1310 || _MSC_VER >= 1600
15 #define HASH_NAMESPACE std
16 #else
17 #define HASH_NAMESPACE stdext
18 #endif
19 
20 /* the location of <hash_set> */
21 #define HASH_SET_H <hash_set>
22 
23 /* define if the compiler has hash_map */
24 #define HAVE_HASH_MAP 1
25 
26 /* define if the compiler has hash_set */
27 #define HAVE_HASH_SET 1
28 
29 /* define if you want to use zlib. See readme.txt for additional
30 * requirements. */
31 // #define HAVE_ZLIB 1