Don't use inline assembler on x86 Solaris (would need a different syntax).
[openssl.git] / crypto / md32_common.h
index 5e62d405232a8bf12499e00c652f24bdde9e3657..e739da21217abff9f1bbec478790a8a0e6e4f9b2 100644 (file)
    *
    *                                   <appro@fy.chalmers.se>
    */
    *
    *                                   <appro@fy.chalmers.se>
    */
-#  if defined(__i386)
+#  if defined(__i386) && !defined(__sun)
 #   define ROTATE(a,n) ({ register unsigned int ret;   \
                                asm volatile (          \
                                "roll %1,%0"            \
 #   define ROTATE(a,n) ({ register unsigned int ret;   \
                                asm volatile (          \
                                "roll %1,%0"            \