From 82ccbc40db1d81eb35efd35f915096ddeee3b2b9 Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Wed, 17 May 2023 17:17:38 +0800 Subject: support llvm-arm 16.0 --- components/libc/compilers/common/cstring.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/libc/compilers/common/cstring.c') diff --git a/components/libc/compilers/common/cstring.c b/components/libc/compilers/common/cstring.c index 733433598e..59c516d273 100644 --- a/components/libc/compilers/common/cstring.c +++ b/components/libc/compilers/common/cstring.c @@ -19,10 +19,12 @@ * * @note The bzero() function is deprecated (marked as LEGACY in POSIX. 1-2001). */ +#ifndef RT_USING_PICOLIBC void bzero(void* s, size_t n) { rt_memset(s, 0, n); } +#endif void bcopy(const void* src, void* dest, size_t n) { -- cgit v1.3.1