From 0af011101d896ec77ae1e4c6b4b986ac53a29a87 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Mon, 4 May 2015 20:35:28 +0800 Subject: [libc] Add more system header file for armlibc and dlib. --- components/libc/dlib/SConscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components/libc/dlib/SConscript') diff --git a/components/libc/dlib/SConscript b/components/libc/dlib/SConscript index a6b7554a07..44be106e03 100644 --- a/components/libc/dlib/SConscript +++ b/components/libc/dlib/SConscript @@ -9,6 +9,10 @@ CPPPATH = [cwd] CPPDEFINES = ['RT_USING_DLIBC'] if rtconfig.PLATFORM == 'iar': + + if GetDepend('RT_USING_DFS'): + CPPDEFINES = CPPDEFINES + ['_DLIB_FILE_DESCRIPTOR', '_DLIB_THREAD_SUPPORT'] + group = DefineGroup('dlib', src, depend = ['RT_USING_LIBC'], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) -- cgit v1.3.1