summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cast/cast_lcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/cast/cast_lcl.h')
-rw-r--r--src/lib/libcrypto/cast/cast_lcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/cast/cast_lcl.h b/src/lib/libcrypto/cast/cast_lcl.h
index cfe3842e91..5fab8a43f6 100644
--- a/src/lib/libcrypto/cast/cast_lcl.h
+++ b/src/lib/libcrypto/cast/cast_lcl.h
@@ -151,7 +151,7 @@
151 *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \ 151 *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
152 *((c)++)=(unsigned char)(((l) )&0xff)) 152 *((c)++)=(unsigned char)(((l) )&0xff))
153 153
154#if defined(WIN32) 154#if defined(WIN32) && defined(_MSC_VER)
155#define ROTL(a,n) (_lrotl(a,n)) 155#define ROTL(a,n) (_lrotl(a,n))
156#else 156#else
157#define ROTL(a,n) ((((a)<<(n))&0xffffffffL)|((a)>>(32-(n)))) 157#define ROTL(a,n) ((((a)<<(n))&0xffffffffL)|((a)>>(32-(n))))