From 8a2bd895185bb23f399970c9ca8a9ae6535ae6cd Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Thu, 18 Apr 2013 16:43:05 +0200 Subject: [PATCH] don't use assembler rotate when compiling for windows 64bit --- src/headers/tomcrypt_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/tomcrypt_macros.h b/src/headers/tomcrypt_macros.h index d87fb4d..85de9e6 100644 --- a/src/headers/tomcrypt_macros.h +++ b/src/headers/tomcrypt_macros.h @@ -343,7 +343,7 @@ static inline ulong32 RORc(ulong32 word, const int i) /* 64-bit Rotates */ -#if !defined(__STRICT_ANSI__) && defined(__GNUC__) && defined(__x86_64__) && !defined(LTC_NO_ASM) +#if !defined(__STRICT_ANSI__) && defined(__GNUC__) && defined(__x86_64__) && !defined(_WIN64) && !defined(LTC_NO_ASM) static inline ulong64 ROL64(ulong64 word, int i) {