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