Merge pull request #15222 from OpenNuvoton/nuvoton_iar_strrchr

Fix strrchr() not declared for IAR
pull/15223/head
Martin Kojtal 2022-02-07 12:04:37 +01:00 committed by GitHub
commit f5156087ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@
#endif
#endif
/* Fix strrchr() not declared for IAR, used in MBED_FILENAME */
#if defined(__ICCARM__)
#include <string.h>
#endif
// Warning for unsupported compilers
#if !defined(__GNUC__) /* GCC */ \
&& !defined(__clang__) /* LLVM/Clang */ \