~noskcaj/ubuntu/saucy/tomahawk/merge0.7.0

« back to all changes in this revision

Viewing changes to thirdparty/breakpad/third_party/protobuf/protobuf/vsprojects/config.h

  • Committer: Jackson Doak
  • Date: 2013-07-11 05:27:44 UTC
  • mfrom: (1.1.2)
  • Revision ID: noskcaj@ubuntu.com-20130711052744-s11i5vl04ijx6fw8
Merged from upstream to version 0.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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