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
499fb052
Commit
499fb052
authored
9 years ago
by
Nicolas "Pixel" Noble
Browse files
Options
Downloads
Patches
Plain Diff
Restoring sanity.
parent
0f9a118f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/grpc/support/port_platform.h
+4
-2
4 additions, 2 deletions
include/grpc/support/port_platform.h
src/core/iomgr/udp_server.h
+1
-1
1 addition, 1 deletion
src/core/iomgr/udp_server.h
src/core/support/block_annotate.h
+6
-2
6 additions, 2 deletions
src/core/support/block_annotate.h
with
11 additions
and
5 deletions
include/grpc/support/port_platform.h
+
4
−
2
View file @
499fb052
...
...
@@ -47,10 +47,12 @@
#endif
/* NOMINMAX */
#ifndef _WIN32_WINNT
#error "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)"
#error \
"Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)"
#else
/* !defined(_WIN32_WINNT) */
#if (_WIN32_WINNT < 0x0600)
#error "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)"
#error \
"Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)"
#endif
/* _WIN32_WINNT < 0x0600 */
#endif
/* defined(_WIN32_WINNT) */
...
...
This diff is collapsed.
Click to expand it.
src/core/iomgr/udp_server.h
+
1
−
1
View file @
499fb052
...
...
@@ -43,7 +43,7 @@ typedef struct grpc_server grpc_server;
typedef
struct
grpc_udp_server
grpc_udp_server
;
/* Called when data is available to read from the socket. */
typedef
void
(
*
grpc_udp_server_read_cb
)(
int
fd
,
grpc_server
*
server
);
typedef
void
(
*
grpc_udp_server_read_cb
)(
int
fd
,
grpc_server
*
server
);
/* Create a server, initially not bound to any ports */
grpc_udp_server
*
grpc_udp_server_create
(
void
);
...
...
This diff is collapsed.
Click to expand it.
src/core/support/block_annotate.h
+
6
−
2
View file @
499fb052
...
...
@@ -38,7 +38,11 @@
the code may block for reasons other than synchronization functions.
These include poll, epoll, and getaddrinfo. */
#define GRPC_SCHEDULING_START_BLOCKING_REGION do {} while (0)
#define GRPC_SCHEDULING_END_BLOCKING_REGION do {} while (0)
#define GRPC_SCHEDULING_START_BLOCKING_REGION \
do { \
} while (0)
#define GRPC_SCHEDULING_END_BLOCKING_REGION \
do { \
} while (0)
#endif
/* GRPC_INTERNAL_CORE_SUPPORT_BLOCK_ANNOTATE_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