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

Allow Static Memory...
pull/727/head
JacobBarthelmeh 2017-01-24 09:38:08 -07:00 committed by GitHub
commit d60d0b4e3f
1 changed files with 1 additions and 1 deletions

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