aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/opensslconf.h.in
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-11-22 13:39:35 +0100
committerAndy Polyakov <appro@openssl.org>2015-11-23 11:46:15 +0100
commit2f2c805a2649fcbe8919242b78982c8e9344e2f3 (patch)
treef7604b5ac9951f100c95e2f54f2c8df755a68ae1 /crypto/opensslconf.h.in
parent46ddbcf2b4d6b7fd014cc40db578a5c3ed657149 (diff)
downloadopenssl-2f2c805a2649fcbe8919242b78982c8e9344e2f3.tar.gz
e_os.h: __sun done right.
RT #4144 Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'crypto/opensslconf.h.in')
-rw-r--r--crypto/opensslconf.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/opensslconf.h.in b/crypto/opensslconf.h.in
index 70db66d667..f12117963f 100644
--- a/crypto/opensslconf.h.in
+++ b/crypto/opensslconf.h.in
@@ -137,7 +137,7 @@
optimization options. Older Sparc's work better with only UNROLL, but
there's no way to tell at compile time what it is you're running on */
-#if defined( __sun ) /* Newer Sparc's */
+#if defined(sparc) || defined(__sparc__) /* Newer Sparc's */
# define DES_PTR
# define DES_RISC1
# define DES_UNROLL