summaryrefslogtreecommitdiff
path: root/crypto/des/des_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/des_locl.h')
-rw-r--r--crypto/des/des_locl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/des_locl.h b/crypto/des/des_locl.h
index 4dfed199a7..1ace8f5930 100644
--- a/crypto/des/des_locl.h
+++ b/crypto/des/des_locl.h
@@ -155,7 +155,7 @@
} \
}
-#if defined(WIN32)
+#if defined(WIN32) && defined(_MSC_VER)
#define ROTATE(a,n) (_lrotr(a,n))
#else
#define ROTATE(a,n) (((a)>>(n))+((a)<<(32-(n))))