summaryrefslogtreecommitdiffstats
path: root/crypto/cast/cast_lcl.h
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/cast/cast_lcl.h
parentcf194c1f68eab4ea0085c6fdee89090be4487ca2 (diff)
_lrotl and _lrotr are defined in MSVC but nowhere else that we know
off.
Diffstat (limited to 'crypto/cast/cast_lcl.h')
-rw-r--r--crypto/cast/cast_lcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cast/cast_lcl.h b/crypto/cast/cast_lcl.h
index cfe3842e91..5fab8a43f6 100644
--- a/crypto/cast/cast_lcl.h
+++ b/crypto/cast/cast_lcl.h
@@ -151,7 +151,7 @@
*((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
*((c)++)=(unsigned char)(((l) )&0xff))
-#if defined(WIN32)
+#if defined(WIN32) && defined(_MSC_VER)
#define ROTL(a,n) (_lrotl(a,n))
#else
#define ROTL(a,n) ((((a)<<(n))&0xffffffffL)|((a)>>(32-(n))))