diff options
| author | prife <[email protected]> | 2013-01-24 17:13:09 +0800 |
|---|---|---|
| committer | prife <[email protected]> | 2013-01-24 17:13:09 +0800 |
| commit | f709ddf631ecec9dd43db664f1367799d1d30e62 (patch) | |
| tree | 248fd01552baa535a998d9e25320b70c6ae70441 | |
| parent | ba245ae88046d0bd5ad421fe545c83986a69421b (diff) | |
fix compile errors with vs in bsp/simulator
| -rwxr-xr-x | bsp/simulator/drivers/sd_sim.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bsp/simulator/drivers/sd_sim.c b/bsp/simulator/drivers/sd_sim.c index 758b5e0417..b3b265273d 100755 --- a/bsp/simulator/drivers/sd_sim.c +++ b/bsp/simulator/drivers/sd_sim.c @@ -1,7 +1,9 @@ #include <rtthread.h> #include <stdio.h> -//#include <stdlib.h> -//#include <string.h> +#ifdef _WIN32 +#include <stdlib.h> +#include <string.h> +#endif #include <dfs_def.h> // #define SD_TRACE rt_kprintf |
