Go to the documentation of this file.
14 #ifndef GRPC_EVENT_ENGINE_PORT_H
15 #define GRPC_EVENT_ENGINE_PORT_H
20 #if defined(GPR_ANDROID) || defined(GPR_LINUX) || defined(GPR_APPLE) || \
21 defined(GPR_FREEBSD) || defined(GPR_OPENBSD) || defined(GPR_SOLARIS) || \
22 defined(GPR_AIX) || defined(GPR_NACL) || defined(GPR_FUCHSIA) || \
23 defined(GRPC_POSIX_SOCKET) || defined(GPR_NETBSD)
24 #define GRPC_EVENT_ENGINE_POSIX
25 #include <arpa/inet.h>
27 #include <netinet/in.h>
28 #include <sys/socket.h>
30 #elif defined(GPR_WINDOWS)
36 #error UNKNOWN PLATFORM
39 #endif // GRPC_EVENT_ENGINE_PORT_H