Skip to content

Commit 2b67fc2

Browse files
committed
avoid conflicts with CCRX definition
1 parent e2ea920 commit 2b67fc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/string.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
#if defined(_RENESAS_RA_)
3131
#include <stdint.h>
3232
#endif
33-
#if !defined(TARGET_library) && defined(__STDC_HOSTED__) && __STDC_HOSTED__
33+
#if !defined(TARGET_library) && defined(__STDC_HOSTED__) && __STDC_HOSTED__ \
34+
&& !defined(__CCRX__)
3435
#include <string.h>
3536
#else
3637
size_t strlen(const char *s); /* forward declaration */

0 commit comments

Comments
 (0)