mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-03 10:20:36 +00:00
Protect against possible macro redefinition warning
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
096e72959b
commit
6d6a720603
@ -52,8 +52,7 @@
|
|||||||
#if defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 25) \
|
#if defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 25) \
|
||||||
&& !defined(__ARM_EABI__)
|
&& !defined(__ARM_EABI__)
|
||||||
#define MBEDTLS_PLATFORM_HAS_EXPLICIT_BZERO 1
|
#define MBEDTLS_PLATFORM_HAS_EXPLICIT_BZERO 1
|
||||||
#endif
|
#elif defined(__FreeBSD__) && (__FreeBSD_version >= 1100037)
|
||||||
#if defined(__FreeBSD__) && (__FreeBSD_version >= 1100037)
|
|
||||||
#define MBEDTLS_PLATFORM_HAS_EXPLICIT_BZERO 1
|
#define MBEDTLS_PLATFORM_HAS_EXPLICIT_BZERO 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user