From ea8079a31b653d5bf5b98977b35916d9ecd3ab7c Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Thu, 12 Mar 2026 21:57:38 +0900 Subject: [PATCH] avoid conflicts with CCRX definition --- src/string.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/string.c b/src/string.c index dc964a93..7f65ebda 100644 --- a/src/string.c +++ b/src/string.c @@ -30,7 +30,8 @@ #if defined(_RENESAS_RA_) #include #endif -#if !defined(TARGET_library) && defined(__STDC_HOSTED__) && __STDC_HOSTED__ +#if !defined(TARGET_library) && defined(__STDC_HOSTED__) && __STDC_HOSTED__ \ + && !defined(__CCRX__) #include #else size_t strlen(const char *s); /* forward declaration */