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
886b3441
Commit
886b3441
authored
8 years ago
by
Yuchen Zeng
Browse files
Options
Downloads
Patches
Plain Diff
Modified the template of public_headers_must_be_c89.c
parent
12dfdc3c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/grpc/impl/codegen/port_platform.h
+2
-2
2 additions, 2 deletions
include/grpc/impl/codegen/port_platform.h
templates/test/core/surface/public_headers_must_be_c89.c.template
+1
-1
1 addition, 1 deletion
...s/test/core/surface/public_headers_must_be_c89.c.template
with
3 additions
and
3 deletions
include/grpc/impl/codegen/port_platform.h
+
2
−
2
View file @
886b3441
...
...
@@ -345,7 +345,7 @@ typedef unsigned __int64 uint64_t;
/* Validate platform combinations */
#if defined(GPR_GCC_ATOMIC) + defined(GPR_GCC_SYNC) + \
defined(GPR_WINDOWS_ATOMIC) !=
\
defined(GPR_WINDOWS_ATOMIC) != \
1
#error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
#endif
...
...
@@ -355,7 +355,7 @@ typedef unsigned __int64 uint64_t;
#endif
#if defined(GPR_CPU_LINUX) + defined(GPR_CPU_POSIX) + defined(GPR_WINDOWS) + \
defined(GPR_CPU_IPHONE) + defined(GPR_CPU_CUSTOM) != \
defined(GPR_CPU_IPHONE) + defined(GPR_CPU_CUSTOM) !=
\
1
#error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
#endif
...
...
This diff is collapsed.
Click to expand it.
templates/test/core/surface/public_headers_must_be_c89.c.template
+
1
−
1
View file @
886b3441
...
...
@@ -35,7 +35,7 @@
<%
def is_platform_header(hdr):
for platform_identifier in ['_gcc', '_win
32
', '_pthread',
for platform_identifier in ['_gcc', '_win
dows
', '_pthread',
'_zookeeper', '_msvc', '_posix']:
if platform_identifier in hdr:
return True
...
...
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