mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-10 03:39:03 +08:00
explicit_bzero is not available on arm-none-eabi
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
a6fda16a41
commit
f0a0e43053
@ -44,7 +44,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Detect platforms known to support explicit_bzero()
|
// Detect platforms known to support explicit_bzero()
|
||||||
#if defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 25)
|
#if defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 25) && defined(__unix__)
|
||||||
#define MBEDTLS_PLATFORM_HAS_EXPLICIT_BZERO 1
|
#define MBEDTLS_PLATFORM_HAS_EXPLICIT_BZERO 1
|
||||||
#endif
|
#endif
|
||||||
#if defined(__FreeBSD__) && __FreeBSD_version >= 1100037
|
#if defined(__FreeBSD__) && __FreeBSD_version >= 1100037
|
||||||
|
Loading…
x
Reference in New Issue
Block a user