Merge pull request #7701 from JacobBarthelmeh/testing1

with FREERTOS and OPENSSL_ALL add XREMALLOC define
This commit is contained in:
David Garske
2024-07-10 08:58:02 -07:00
committed by GitHub

View File

@ -1087,7 +1087,8 @@ extern void uITRON4_free(void *p) ;
* heap_caps_realloc(p, s, MALLOC_CAP_8BIT)
* There's no pvPortRealloc available: */
#define XREALLOC(p, n, h, t) ((void)(h), (void)(t), realloc((p), (n)))
#elif defined(USE_INTEGER_HEAP_MATH) || defined(OPENSSL_EXTRA)
#elif defined(USE_INTEGER_HEAP_MATH) || defined(OPENSSL_EXTRA) || \
defined(OPENSSL_ALL)
/* FreeRTOS pvPortRealloc() implementation can be found here:
* https://github.com/wolfSSL/wolfssl-freertos/pull/3/files */
#define XREALLOC(p, n, h, t) ((void)(h), (void)(t), pvPortRealloc((p), (n)))