summaryrefslogtreecommitdiff
path: root/lib/libcrypto/cast/cast_lcl.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-04-17 21:17:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-04-17 21:17:13 +0000
commiteced9cb2795ae2ffb49d90a849250c9d83753b9d (patch)
tree2a55bab31719b1b2a63b5fbb5c9f1ed1ee35b8c2 /lib/libcrypto/cast/cast_lcl.h
parentc285bade3db509c4f886d99db0e98daec914fba5 (diff)
Get rid of MS Visual C compiler and Intel C compiler specific defines.
Diffstat (limited to 'lib/libcrypto/cast/cast_lcl.h')
-rw-r--r--lib/libcrypto/cast/cast_lcl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libcrypto/cast/cast_lcl.h b/lib/libcrypto/cast/cast_lcl.h
index e756021a33d..cf0ca9e607b 100644
--- a/lib/libcrypto/cast/cast_lcl.h
+++ b/lib/libcrypto/cast/cast_lcl.h
@@ -152,11 +152,7 @@
*((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
*((c)++)=(unsigned char)(((l) )&0xff))
-#if defined(OPENSSL_SYS_WIN32) && defined(_MSC_VER)
-#define ROTL(a,n) (_lrotl(a,n))
-#else
#define ROTL(a,n) ((((a)<<(n))&0xffffffffL)|((a)>>(32-(n))))
-#endif
#define C_M 0x3fc
#define C_0 22L