aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_lcl.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2008-11-01 12:46:18 +0000
committerAndy Polyakov <appro@openssl.org>2008-11-01 12:46:18 +0000
commit122396f2dbeda0f25e9af1bb069a324ec793da57 (patch)
tree0ff58eb4959f44bed590c8f9266bcb31e9e012e3 /crypto/bn/bn_lcl.h
parent09a60c9833fa6800230e23a7e42a48832792e629 (diff)
downloadopenssl-122396f2dbeda0f25e9af1bb069a324ec793da57.tar.gz
Fix SHA512 and optimize BN for mingw64.
Diffstat (limited to 'crypto/bn/bn_lcl.h')
-rw-r--r--crypto/bn/bn_lcl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h
index 27ac4397a1..8e5e98e3f2 100644
--- a/crypto/bn/bn_lcl.h
+++ b/crypto/bn/bn_lcl.h
@@ -255,7 +255,8 @@ extern "C" {
: "r"(a), "r"(b)); \
ret; })
# endif /* compiler */
-# elif defined(__x86_64) && defined(SIXTY_FOUR_BIT_LONG)
+# elif (defined(__x86_64) || defined(__x86_64__)) && \
+ (defined(SIXTY_FOUR_BIT_LONG) || defined(SIXTY_FOUR_BIT))
# if defined(__GNUC__)
# define BN_UMULT_HIGH(a,b) ({ \
register BN_ULONG ret,discard; \