summaryrefslogtreecommitdiffstats
path: root/crypto/modes/gcm128.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-04-04 15:54:58 +0200
committerAndy Polyakov <appro@openssl.org>2013-04-04 15:54:58 +0200
commit64f7e2c4c0d40cb10235088724f237807772ca40 (patch)
treee902eb54e9886f4f74a3316d9916b8bcdeb6fa90 /crypto/modes/gcm128.c
parent7f97d57236c8407a163a4e9f43a65c0dd691a057 (diff)
gcm128.c: fix linking problems in 32-bit Windows build.
Diffstat (limited to 'crypto/modes/gcm128.c')
-rw-r--r--crypto/modes/gcm128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/modes/gcm128.c b/crypto/modes/gcm128.c
index ae5fab1b46..138d440406 100644
--- a/crypto/modes/gcm128.c
+++ b/crypto/modes/gcm128.c
@@ -658,7 +658,7 @@ void gcm_init_clmul(u128 Htable[16],const u64 Xi[2]);
void gcm_gmult_clmul(u64 Xi[2],const u128 Htable[16]);
void gcm_ghash_clmul(u64 Xi[2],const u128 Htable[16],const u8 *inp,size_t len);
-#if defined(__i386) || defined(__i386__)
+#if defined(__i386) || defined(__i386__) || defined(_M_IX86)
# define gcm_init_avx gcm_init_clmul
# define gcm_gmult_avx gcm_gmult_clmul
# define gcm_ghash_avx gcm_ghash_clmul