1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-08 14:31:06 +00:00

memzero: add newlib support

This commit is contained in:
Pavol Rusnak 2019-02-16 16:14:12 +01:00
parent b2a0d55fd6
commit e3caf14c43
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -18,7 +18,12 @@
#endif
// GNU C Library version 2.25 or later.
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 25)
#if defined(__GLIBC__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 25))
#define HAVE_EXPLICIT_BZERO 1
#endif
// Newlib
#if defined( __NEWLIB__)
#define HAVE_EXPLICIT_BZERO 1
#endif