Merge pull request #726 from ejohnstown/static-memory-fix

Allow Static Memory...
This commit is contained in:
JacobBarthelmeh
2017-01-24 09:38:08 -07:00
committed by GitHub

View File

@ -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