summaryrefslogtreecommitdiff
path: root/crypto/md32_common.h
diff options
context:
space:
mode:
authorappro <appro>2000-02-15 17:20:46 +0000
committerappro <appro>2000-02-15 17:20:46 +0000
commit6eae3ecc51b429469e1ffa8b209ce89d3f28527b (patch)
treed20b69ec41ccd7b6527d028d4948b4d44c76403d /crypto/md32_common.h
parentff1ec11a217d241a31ec11da832c7c637b678076 (diff)
downloadopenssl-6eae3ecc51b429469e1ffa8b209ce89d3f28527b.tar.gz
New NO_INLINE_ASM macro. Primary target for the moment is Solaris x86
which can't stand GNU C assembler templates.
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r--crypto/md32_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h
index 9a6a27512..d7c0084c4 100644
--- a/crypto/md32_common.h
+++ b/crypto/md32_common.h
@@ -190,7 +190,7 @@
# else
# define ROTATE(a,n) __rol(a,n)
# endif
-# elif defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM)
+# elif defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM) && !defined(NO_INLINE_ASM)
/*
* Some GNU C inline assembler templates. Note that these are
* rotates by *constant* number of bits! But that's exactly
@@ -222,7 +222,7 @@
* Engage compiler specific "fetch in reverse byte order"
* intrinsic function if available.
*/
-# if defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM)
+# if defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM) && !defined(NO_INLINE_ASM)
/* some GNU C inline assembler templates by <appro@fy.chalmers.se> */
# if defined(__i386) && !defined(I386_ONLY)
# define BE_FETCH32(a) ({ register unsigned int l=(a);\