From 64f7e2c4c0d40cb10235088724f237807772ca40 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 4 Apr 2013 15:54:58 +0200 Subject: [PATCH] gcm128.c: fix linking problems in 32-bit Windows build. --- crypto/modes/gcm128.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1