avoid conflicts with CCRX definition

pull/689/head
Hideki Miyazaki 2026-03-12 21:57:38 +09:00
parent 285063dc2d
commit ea8079a31b
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@
#if defined(_RENESAS_RA_)
#include <stdint.h>
#endif
#if !defined(TARGET_library) && defined(__STDC_HOSTED__) && __STDC_HOSTED__
#if !defined(TARGET_library) && defined(__STDC_HOSTED__) && __STDC_HOSTED__ \
&& !defined(__CCRX__)
#include <string.h>
#else
size_t strlen(const char *s); /* forward declaration */