aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/impl/codegen/port_platform.h
diff options
context:
space:
mode:
authorGravatar Carter Sande <carter.sande@duodecima.technology>2018-07-03 21:34:34 +0000
committerGravatar Carter Sande <carter.sande@duodecima.technology>2018-07-03 21:37:01 +0000
commitd5736045d35bcf2823f97cd740b7953514b76215 (patch)
tree70d5aa091aabee38bd982195cd736a1f7fa38c57 /include/grpc/impl/codegen/port_platform.h
parentcf54ce355a2034fc45ff9baef27a8f710acb369f (diff)
port_platform.h: Make Solaris detection macro more precise
Diffstat (limited to 'include/grpc/impl/codegen/port_platform.h')
-rw-r--r--include/grpc/impl/codegen/port_platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index 7f9d9fd82b..bb8cba9d55 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
@@ -282,7 +282,7 @@
#else /* _LP64 */
#define GPR_ARCH_32 1
#endif /* _LP64 */
-#elif defined(__sun)
+#elif defined(__sun) && defined(__SVR4)
#define GPR_PLATFORM_STRING "solaris"
#define GPR_SOLARIS 1
#define GPR_CPU_POSIX 1