PageRenderTime 42ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/protobuf/protobuf/vsprojects/config.h

https://bitbucket.org/martinbiermann/tm-usual-cookie-track
C Header | 29 lines | 9 code | 6 blank | 14 comment | 1 complexity | 39fe3e35683c4ed5935222ee55fd26a0 MD5 | raw file
Possible License(s): MIT, Apache-2.0
  1. /* protobuf config.h for MSVC. On other platforms, this is generated
  2. * automatically by autoheader / autoconf / configure. */
  3. /* the location of <hash_map> */
  4. #define HASH_MAP_H <hash_map>
  5. /* the namespace of hash_map/hash_set */
  6. // Apparently Microsoft decided to move hash_map *back* to the std namespace
  7. // in MSVC 2010:
  8. // http://blogs.msdn.com/vcblog/archive/2009/05/25/stl-breaking-changes-in-visual-studio-2010-beta-1.aspx
  9. // TODO(kenton): Use unordered_map instead, which is available in MSVC 2010.
  10. #if _MSC_VER < 1310 || _MSC_VER >= 1600
  11. #define HASH_NAMESPACE std
  12. #else
  13. #define HASH_NAMESPACE stdext
  14. #endif
  15. /* the location of <hash_set> */
  16. #define HASH_SET_H <hash_set>
  17. /* define if the compiler has hash_map */
  18. #define HAVE_HASH_MAP 1
  19. /* define if the compiler has hash_set */
  20. #define HAVE_HASH_SET 1
  21. /* define if you want to use zlib. See readme.txt for additional
  22. * requirements. */
  23. // #define HAVE_ZLIB 1