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 255f8b7 commit fd7a65bCopy full SHA for fd7a65b
bsp/simulator/drivers/sd_sim.c
@@ -1,6 +1,8 @@
1
#include <stdio.h>
2
-#include <stdlib.h>
3
#include <string.h>
+#ifdef _WIN32
4
+#include <stdlib.h>
5
+#endif
6
7
#include <rtthread.h>
8
#include <dfs_def.h>
components/libc/SConscript
@@ -14,7 +14,7 @@ if GetDepend('RT_USING_LIBC'):
14
elif rtconfig.PLATFORM == 'iar':
15
objs = objs + SConscript('dlib/SConscript')
16
else:
17
- if rtconfig.PLATFORM == 'gcc':
+ if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim':
18
objs = objs + SConscript('minilibc/SConscript')
19
20
Return('objs')
0 commit comments