diff options
| author | Meco Man <[email protected]> | 2022-01-05 16:43:44 -0500 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2022-01-08 15:46:52 +0800 |
| commit | 8565fe2448ae086d270687eba3855214b649ebc5 (patch) | |
| tree | 756c6994c781f9139a2b40a0c73cd52c40fbdc4a /bsp/simulator/drivers/SConscript | |
| parent | 495e209f379338b2bbc4ba086e457d0fb6d22a8d (diff) | |
[simulator] 消除vs下的警告
Diffstat (limited to 'bsp/simulator/drivers/SConscript')
| -rw-r--r-- | bsp/simulator/drivers/SConscript | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bsp/simulator/drivers/SConscript b/bsp/simulator/drivers/SConscript index d5a82f93b7..8f0c9275ff 100644 --- a/bsp/simulator/drivers/SConscript +++ b/bsp/simulator/drivers/SConscript @@ -8,8 +8,6 @@ LIBS = [] LIBPATH = [] CPPPATH = [cwd] -CPPDEFINES = ['_CRT_DECLARE_NONSTDC_NAMES=0'] # avoid to conflict with the inherent STDC in VS - # remove no need file. if GetDepend('PKG_USING_GUIENGINE') == False: SrcRemove(src, 'sdl_fb.c') @@ -32,8 +30,7 @@ if GetDepend('RT_USING_DFS') == False or GetDepend('RT_USING_MODULE') == False: if sys.platform[0:5]=="linux": #check whether under linux SrcRemove(src, ['module_win32.c', 'dfs_win32.c']) -group = DefineGroup('Drivers', src, depend = [''], - CPPPATH = CPPPATH, LIBS=LIBS, LIBPATH=LIBPATH, CPPDEFINES = CPPDEFINES) +group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH, LIBS=LIBS, LIBPATH=LIBPATH) list = os.listdir(cwd) for item in list: |
