forked from wolfSSL/wolfssl
Fix for liboqs on zephyr
When using WolfSSL on zephyr, we need POSIX names for networking systems calls. This can either be enabled with CONFIG_NET_SOCKETS_POSIX_NAMES or with CONFIG_POSIX_API. This commit enables support for the latter. Signed-off-by: Tobias Frauenschläger <t.frauenschlaeger@me.com>
This commit is contained in:
committed by
Tobias Frauenschläger
parent
0780fd9719
commit
8a89470422
@@ -1908,7 +1908,7 @@ extern void uITRON4_free(void *p) ;
|
|||||||
void *z_realloc(void *ptr, size_t size);
|
void *z_realloc(void *ptr, size_t size);
|
||||||
#define realloc z_realloc
|
#define realloc z_realloc
|
||||||
|
|
||||||
#ifndef CONFIG_NET_SOCKETS_POSIX_NAMES
|
#if !defined(CONFIG_NET_SOCKETS_POSIX_NAMES) && !defined(CONFIG_POSIX_API)
|
||||||
#define CONFIG_NET_SOCKETS_POSIX_NAMES
|
#define CONFIG_NET_SOCKETS_POSIX_NAMES
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user