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
728aa760
Commit
728aa760
authored
Dec 19, 2012
by
liujisi@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Down-integrate form internal opensource branch
parent
0b30eb8c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
descriptor.h
src/google/protobuf/descriptor.h
+4
-0
atomicops.h
src/google/protobuf/stubs/atomicops.h
+2
-0
common.cc
src/google/protobuf/stubs/common.cc
+2
-2
platform_macros.h
src/google/protobuf/stubs/platform_macros.h
+3
-0
No files found.
src/google/protobuf/descriptor.h
View file @
728aa760
...
...
@@ -58,6 +58,10 @@
#include <vector>
#include <google/protobuf/stubs/common.h>
// TYPE_BOOL is defined in the MacOS's ConditionalMacros.h.
#ifdef TYPE_BOOL
#undef TYPE_BOOL
#endif // TYPE_BOOL
namespace
google
{
namespace
protobuf
{
...
...
src/google/protobuf/stubs/atomicops.h
View file @
728aa760
...
...
@@ -180,6 +180,8 @@ GOOGLE_PROTOBUF_ATOMICOPS_ERROR
#include <google/protobuf/stubs/atomicops_internals_arm_gcc.h>
#elif defined(GOOGLE_PROTOBUF_ARCH_MIPS)
#include <google/protobuf/stubs/atomicops_internals_mips_gcc.h>
#elif defined(__pnacl__)
#include <google/protobuf/stubs/atomicops_internals_pnacl.h>
#else
GOOGLE_PROTOBUF_ATOMICOPS_ERROR
#endif
...
...
src/google/protobuf/stubs/common.cc
View file @
728aa760
...
...
@@ -183,11 +183,11 @@ void LogMessage::Finish() {
if
(
level_
!=
LOGLEVEL_FATAL
)
{
InitLogSilencerCountOnce
();
MutexLock
lock
(
log_silencer_count_mutex_
);
suppress
=
internal
::
log_silencer_count_
>
0
;
suppress
=
log_silencer_count_
>
0
;
}
if
(
!
suppress
)
{
internal
::
log_handler_
(
level_
,
filename_
,
line_
,
message_
);
log_handler_
(
level_
,
filename_
,
line_
,
message_
);
}
if
(
level_
==
LOGLEVEL_FATAL
)
{
...
...
src/google/protobuf/stubs/platform_macros.h
View file @
728aa760
...
...
@@ -51,6 +51,9 @@
#define GOOGLE_PROTOBUF_ARCH_32_BIT 1
#elif defined(__pnacl__)
#define GOOGLE_PROTOBUF_ARCH_32_BIT 1
#elif defined(__ppc__)
#define GOOGLE_PROTOBUF_ARCH_PPC 1
#define GOOGLE_PROTOBUF_ARCH_32_BIT 1
#else
#error Host architecture was not detected as supported by protobuf
#endif
...
...
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