mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
wolfcrypt/src/memory.c: restore required linuxkm #define WOLFSSL_NEED_LINUX_CURRENT
This commit is contained in:
@@ -24,6 +24,13 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WOLFSSL_LINUXKM
|
||||||
|
/* inhibit "#undef current" in linuxkm_wc_port.h, included from wc_port.h,
|
||||||
|
* because needed in linuxkm_memory.c, included below.
|
||||||
|
*/
|
||||||
|
#define WOLFSSL_NEED_LINUX_CURRENT
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <wolfssl/wolfcrypt/settings.h>
|
#include <wolfssl/wolfcrypt/settings.h>
|
||||||
|
|
||||||
/* check old macros @wc_fips */
|
/* check old macros @wc_fips */
|
||||||
|
Reference in New Issue
Block a user