From 109642fef4e1f4f36464db9314dc43c35f248fad Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Wed, 14 Sep 2016 09:33:48 -0600 Subject: [PATCH] aes.c : check ILP32 macro defined --- wolfcrypt/src/aes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfcrypt/src/aes.c b/wolfcrypt/src/aes.c index bfd46ffde..f832230f7 100644 --- a/wolfcrypt/src/aes.c +++ b/wolfcrypt/src/aes.c @@ -1244,7 +1244,8 @@ static int AES_set_decrypt_key(const unsigned char* userKey, const int bits, #ifndef WC_CACHE_LINE_SZ - #if defined(__x86_64__) || defined(_M_X64) || (__ILP32__ >= 1) + #if defined(__x86_64__) || defined(_M_X64) || \ + (defined(__ILP32__) && (__ILP32__ >= 1)) #define WC_CACHE_LINE_SZ 64 #else /* default cache line size */