[rtdef][libc] solve the conflicts between libc data types and rtdef data types (#5961)

This commit is contained in:
Man, Jianting (Meco)
2022-05-18 22:35:32 -04:00
committed by GitHub
parent 50a42331e6
commit c147ff417c
4 changed files with 18 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ Import('rtconfig')
src = Glob('*.c')
group = []
CPPDEFINES = ['RT_USING_ARM_LIBC']
CPPDEFINES = ['RT_USING_ARM_LIBC', 'RT_USING_LIBC']
if rtconfig.PLATFORM in ['armcc', 'armclang']:
group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)