static memory no longer requires fast math

This commit is contained in:
Tesfa Mael
2021-02-26 15:44:11 -08:00
parent 16f39b4e77
commit 19fa75c6a8

View File

@@ -2094,8 +2094,9 @@ extern void uITRON4_free(void *p) ;
#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
#if !defined(USE_FAST_MATH) && !defined(NO_BIG_INT)
#error static memory requires fast math please define USE_FAST_MATH
#if !defined(WOLFSSL_SP_NO_MALLOC) && \
!defined(USE_FAST_MATH) && !defined(NO_BIG_INT)
#error The static memory option is only supported for fast math or SP with no malloc
#endif
#ifdef WOLFSSL_SMALL_STACK
#error static memory does not support small stack please undefine