Fix with macro redefinition error if building with NO_WOLFSSL_ALLOC_ALIGN.

This commit is contained in:
David Garske
2022-07-08 09:05:29 -07:00
parent f7595cc77d
commit 905f71d80d

View File

@ -700,7 +700,9 @@
* wrapper around macros until they are changed in cyassl code
* needs investigation in regards to macros in fips
*/
#define NO_WOLFSSL_ALLOC_ALIGN NO_CYASSL_ALLOC_ALIGN /* @TODO */
#ifdef NO_CYASSL_ALLOC_ALIGN
#define NO_WOLFSSL_ALLOC_ALIGN NO_CYASSL_ALLOC_ALIGN
#endif
/* examples/client/client.h */