From 454cd02627359ba988836ed837177c0418bf11ce Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Wed, 9 Nov 2022 14:00:50 +0900 Subject: [PATCH] fix compile error due to Werro=undef on gcc-4.8 --- wolfcrypt/src/sp_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/sp_int.c b/wolfcrypt/src/sp_int.c index ddfc35170..a8d84cf3e 100644 --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -598,7 +598,7 @@ static WC_INLINE sp_int_digit sp_div_word(sp_int_digit hi, sp_int_digit lo, : "cc" ); return lo; -#elif _MSC_VER >= 1920 +#elif defined(_MSC_VER) && _MSC_VER >= 1920 return _udiv128(hi, lo, d, NULL); #endif }