diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2015-11-24 23:21:06 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2015-11-24 23:44:05 +0100 |
commit | ed02493567390cac6d07447f193fcaac5b219af3 (patch) | |
tree | 0918b7b2de7c3a90d23f78a9978093d1f50900e2 /e_os.h | |
parent | 296f7bd1ace9383648795b24bf2f3c10d0b9ca47 (diff) |
Use both sun and __sun
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -619,7 +619,7 @@ struct servent *PASCAL getservbyname(const char *, const char *); # include <sys/select.h> # endif -# if defined(__sun) +# if defined(__sun) || defined(sun) # include <sys/filio.h> # else # ifndef VMS @@ -661,7 +661,7 @@ struct servent *PASCAL getservbyname(const char *, const char *); # endif -# if defined(__sun) && !defined(__svr4__) && !defined(__SVR4) +# if (defined(__sun) || defined(sun)) && !defined(__svr4__) && !defined(__SVR4) /* include headers first, so our defines don't break it */ # include <stdlib.h> # include <string.h> |