From 13d0908b093d907c45aec65b02f27fba60940637 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Mon, 23 Jan 2017 16:38:29 -0800 Subject: [PATCH] Allow static memory option when not using fast math or not using slow math for anything. --- wolfssl/wolfcrypt/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 3d7c05d57..549970d3b 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -1463,7 +1463,7 @@ static char *fgets(char *buff, int sz, FILE *fp) #if defined(HAVE_IO_POOL) || defined(XMALLOC_USER) || defined(NO_WOLFSSL_MEMORY) #error static memory cannot be used with HAVE_IO_POOL, XMALLOC_USER or NO_WOLFSSL_MEMORY #endif - #ifndef USE_FAST_MATH + #if !defined(USE_FAST_MATH) && !defined(NO_BIG_INT) #error static memory requires fast math please define USE_FAST_MATH #endif #ifdef WOLFSSL_SMALL_STACK