diff options
| author | Bernard Xiong <[email protected]> | 2015-05-04 20:35:28 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-05-04 20:35:28 +0800 |
| commit | 0af011101d896ec77ae1e4c6b4b986ac53a29a87 (patch) | |
| tree | a3077c404e0fe2dcbe4b54252db7b26753b3475a /components/libc/dlib/SConscript | |
| parent | 10d3afde03b62b3e45bb871849aefd66f1d26e27 (diff) | |
[libc] Add more system header file for armlibc and dlib.
Diffstat (limited to 'components/libc/dlib/SConscript')
| -rw-r--r-- | components/libc/dlib/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
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) |
