Browse Source

don't use assembler rotate when compiling for windows 64bit

Steffen Jaeckel 12 years ago
parent
commit
8a2bd89518
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/headers/tomcrypt_macros.h

+ 1 - 1
src/headers/tomcrypt_macros.h

@@ -343,7 +343,7 @@ static inline ulong32 RORc(ulong32 word, const int i)
 
 
 
 
 /* 64-bit Rotates */
 /* 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)
 static inline ulong64 ROL64(ulong64 word, int i)
 {
 {