summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-05-24 22:51:12 +0200
committerAndy Polyakov <appro@openssl.org>2015-05-26 09:58:12 +0200
commit38b7073328fc0f2713d377472de8d189ae42eda1 (patch)
tree1ae10f7aea27d73f06086aa99bf0837d3e297cd9 /crypto
parent75077a2277f95cc293e1f5d0538b426ae5e99e6f (diff)
md32_common.h: backport ICC fix.
RT#3843 Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/md32_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h
index c1efb45f1c..1823833419 100644
--- a/crypto/md32_common.h
+++ b/crypto/md32_common.h
@@ -142,8 +142,10 @@
*/
#undef ROTATE
#ifndef PEDANTIC
-# if defined(_MSC_VER) || defined(__ICC)
+# if defined(_MSC_VER)
# define ROTATE(a,n) _lrotl(a,n)
+# elif defined(__ICC)
+# define ROTATE(a,n) _rotl(a,n)
# elif defined(__MWERKS__)
# if defined(__POWERPC__)
# define ROTATE(a,n) __rlwinm(a,n,0,31)