aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-04-01 10:39:33 +0000
committerRichard Levitte <levitte@openssl.org>2000-04-01 10:39:33 +0000
commitc2359eb18cc04e606d12c47b19a007ab685f7fc4 (patch)
tree82f1b8b90df2cc7871c74ab64e0d15d04b0bd7ea /crypto/des
parentcf194c1f68eab4ea0085c6fdee89090be4487ca2 (diff)
downloadopenssl-c2359eb18cc04e606d12c47b19a007ab685f7fc4.tar.gz
_lrotl and _lrotr are defined in MSVC but nowhere else that we know
off.
Diffstat (limited to 'crypto/des')
-rw-r--r--crypto/des/des_locl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/des_locl.h b/crypto/des/des_locl.h
index 4dfed199a7..1ace8f5930 100644
--- a/crypto/des/des_locl.h
+++ b/crypto/des/des_locl.h
@@ -155,7 +155,7 @@
} \
}
-#if defined(WIN32)
+#if defined(WIN32) && defined(_MSC_VER)
#define ROTATE(a,n) (_lrotr(a,n))
#else
#define ROTATE(a,n) (((a)>>(n))+((a)<<(32-(n))))