Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
98f47f61
Commit
98f47f61
authored
8 years ago
by
Nicolas Noble
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #7469 from yang-g/proto_lite
Add a macro to support protobuf lite
parents
466d8a6b
e6c04aa6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/grpc++/impl/codegen/config_protobuf.h
+5
-0
5 additions, 0 deletions
include/grpc++/impl/codegen/config_protobuf.h
with
5 additions
and
0 deletions
include/grpc++/impl/codegen/config_protobuf.h
+
5
−
0
View file @
98f47f61
...
@@ -40,9 +40,14 @@
...
@@ -40,9 +40,14 @@
#endif
#endif
#ifndef GRPC_CUSTOM_MESSAGE
#ifndef GRPC_CUSTOM_MESSAGE
#ifdef GRPC_USE_PROTO_LITE
#include
<google/protobuf/message_lite.h>
#define GRPC_CUSTOM_MESSAGE ::google::protobuf::MessageLite
#else
#include
<google/protobuf/message.h>
#include
<google/protobuf/message.h>
#define GRPC_CUSTOM_MESSAGE ::google::protobuf::Message
#define GRPC_CUSTOM_MESSAGE ::google::protobuf::Message
#endif
#endif
#endif
#ifndef GRPC_CUSTOM_DESCRIPTOR
#ifndef GRPC_CUSTOM_DESCRIPTOR
#include
<google/protobuf/descriptor.h>
#include
<google/protobuf/descriptor.h>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment