mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 21:13:32 +08:00
解决minilibc time.c和newlibc仅定义RT_LIBC_USING_TIME时冲突的问题
This commit is contained in:
parent
f021cb982a
commit
0607ff84ab
@ -10,7 +10,7 @@ CPPPATH = [cwd]
|
||||
if GetDepend('RT_USING_LIBC'):
|
||||
src += Glob('*.c')
|
||||
else:
|
||||
if GetDepend('RT_LIBC_USING_TIME'):
|
||||
if GetDepend('RT_LIBC_USING_TIME') and not GetDepend('RT_USING_MINILIBC'):
|
||||
src += ['time.c']
|
||||
|
||||
if GetDepend('RT_USING_POSIX') == False:
|
||||
|
Loading…
x
Reference in New Issue
Block a user