Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
c91e1fe8
Commit
c91e1fe8
authored
Oct 12, 2009
by
kenton@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support MSVC 2010 beta 1.
parent
477f799f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
strutil.cc
src/google/protobuf/stubs/strutil.cc
+1
-0
config.h
vsprojects/config.h
+5
-1
No files found.
src/google/protobuf/stubs/strutil.cc
View file @
c91e1fe8
...
...
@@ -36,6 +36,7 @@
#include <limits>
#include <limits.h>
#include <stdio.h>
#include <iterator>
#ifdef _WIN32
// MSVC has only _snprintf, not snprintf.
...
...
vsprojects/config.h
View file @
c91e1fe8
...
...
@@ -5,7 +5,11 @@
#define HASH_MAP_H <hash_map>
/* the namespace of hash_map/hash_set */
#if _MSC_VER < 1310
// Apparently Microsoft decided to move hash_map *back* to the std namespace
// in MSVC 2010:
// http://blogs.msdn.com/vcblog/archive/2009/05/25/stl-breaking-changes-in-visual-studio-2010-beta-1.aspx
// TODO(kenton): Use unordered_map instead, which is available in MSVC 2010.
#if _MSC_VER < 1310 || _MSC_VER >= 1500
#define HASH_NAMESPACE std
#else
#define HASH_NAMESPACE stdext
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment