[libc] remove strdup from rtthread.h (#6026)

add __STDC_LIMIT_MACROS macro in Keil
add RT_USING_LIBC in simulator
add _DLIB_ADD_EXTRA_SYMBOLS=0 in IAR
This commit is contained in:
Man, Jianting (Meco)
2022-06-04 17:02:35 +08:00
committed by GitHub
parent 02b176f8cb
commit fb3f835089
4 changed files with 5 additions and 17 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ src = ['board.c', 'uart_console.c']
LIBS = []
LIBPATH = []
CPPPATH = [cwd]
CPPDEFINES = []
CPPDEFINES = ['RT_USING_LIBC']
if rtconfig.CROSS_TOOL == 'msvc':
CPPDEFINES += \