diff options
author | murgatroid99 <michael.lumish@gmail.com> | 2015-01-23 09:11:39 -0800 |
---|---|---|
committer | murgatroid99 <michael.lumish@gmail.com> | 2015-01-23 09:11:39 -0800 |
commit | d10c0abaf646f7635c1c0cb292c44036c6b64c05 (patch) | |
tree | 7553a277e129ee2e03782f5c1f6460219cfbc7ab /src/core/iomgr/fd_posix.c | |
parent | b2c86aa8c4a0833fb434e679d2a7dbc93e6fc670 (diff) | |
parent | ac139dead15bf9cb8da75340c6fb93225a11ef7c (diff) |
Merge branch 'master' of github.com:google/grpc into merge_new_invoke_api
Diffstat (limited to 'src/core/iomgr/fd_posix.c')
-rw-r--r-- | src/core/iomgr/fd_posix.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/iomgr/fd_posix.c b/src/core/iomgr/fd_posix.c index 3cd2f9a8e0..9f70a26c64 100644 --- a/src/core/iomgr/fd_posix.c +++ b/src/core/iomgr/fd_posix.c @@ -31,6 +31,10 @@ * */ +#include <grpc/support/port_platform.h> + +#ifdef GPR_POSIX_SOCKET + #include "src/core/iomgr/fd_posix.h" #include <assert.h> @@ -272,3 +276,5 @@ void grpc_fd_become_readable(grpc_fd *fd, int allow_synchronous_callback) { void grpc_fd_become_writable(grpc_fd *fd, int allow_synchronous_callback) { set_ready(fd, &fd->writest, allow_synchronous_callback); } + +#endif |