diff options
author | Vijay Pai <vpai@google.com> | 2018-08-20 11:47:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 11:47:10 -0700 |
commit | 46008f0d76d158c4828934ab569a3570c0c21135 (patch) | |
tree | 45f3f70c00acbb1718d38efc1d6ad44448f2e05d /src/core/lib/iomgr/port.h | |
parent | af89e8c00e796f3398b09b7daed693df2b14da56 (diff) | |
parent | a0a061034351a6cd616ee2d01fae99604216b9ba (diff) |
Merge pull request #15926 from cartr/platform_solaris_aix
Make gRPC buildable with AIX and Solaris (no official support)
Diffstat (limited to 'src/core/lib/iomgr/port.h')
-rw-r--r-- | src/core/lib/iomgr/port.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/port.h b/src/core/lib/iomgr/port.h index 1d0ecff802..066417b93c 100644 --- a/src/core/lib/iomgr/port.h +++ b/src/core/lib/iomgr/port.h @@ -140,6 +140,18 @@ #define GRPC_POSIX_SOCKET 1 #define GRPC_POSIX_SOCKETUTILS 1 #define GRPC_POSIX_WAKEUP_FD 1 +#elif defined(GPR_SOLARIS) +#define GRPC_HAVE_UNIX_SOCKET 1 +#define GRPC_POSIX_NO_SPECIAL_WAKEUP_FD 1 +#define GRPC_POSIX_SOCKET 1 +#define GRPC_POSIX_SOCKETUTILS 1 +#define GRPC_POSIX_WAKEUP_FD 1 +#elif defined(GPR_AIX) +#define GRPC_HAVE_UNIX_SOCKET 1 +#define GRPC_POSIX_NO_SPECIAL_WAKEUP_FD 1 +#define GRPC_POSIX_SOCKET 1 +#define GRPC_POSIX_SOCKETUTILS 1 +#define GRPC_POSIX_WAKEUP_FD 1 #elif defined(GPR_NACL) #define GRPC_HAVE_ARPA_NAMESER 1 #define GRPC_POSIX_NO_SPECIAL_WAKEUP_FD 1 |