We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d60c968 commit 7d57f6bCopy full SHA for 7d57f6b
bsp/simulator/drivers/SConscript
@@ -7,6 +7,8 @@ LIBS = []
7
LIBPATH = []
8
CPPPATH = [cwd]
9
10
+CPPDEFINES = ['_CRT_DECLARE_NONSTDC_NAMES=0'] # avoid to conflict with the inherent STDC in VS
11
+
12
# remove no need file.
13
if GetDepend('PKG_USING_GUIENGINE') == False:
14
SrcRemove(src, 'sdl_fb.c')
@@ -30,6 +32,6 @@ if sys.platform[0:5]=="linux": #check whether under linux
30
32
SrcRemove(src, ['module_win32.c', 'dfs_win32.c'])
31
33
34
group = DefineGroup('Drivers', src, depend = [''],
- CPPPATH = CPPPATH, LIBS=LIBS, LIBPATH=LIBPATH)
35
+ CPPPATH = CPPPATH, LIBS=LIBS, LIBPATH=LIBPATH, CPPDEFINES = CPPDEFINES)
36
37
Return('group')
0 commit comments