From 4f02e67bef7eacee5102d7730356663d9c889e15 Mon Sep 17 00:00:00 2001 From: prife Date: Mon, 28 Jan 2013 18:06:59 +0800 Subject: [PATCH] enabe dfs_win32 in simulator when built on windows --- bsp/simulator/rtconfig.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bsp/simulator/rtconfig.h b/bsp/simulator/rtconfig.h index 145cc442fc..3e9fb2e74e 100755 --- a/bsp/simulator/rtconfig.h +++ b/bsp/simulator/rtconfig.h @@ -137,7 +137,9 @@ /* DFS: windows share directory mounted to rt-thread/dfs */ /* only used in bsp/simulator */ -//#define RT_USING_DFS_WINSHAREDIR +#ifdef _WIN32 +#define RT_USING_DFS_WINSHAREDIR +#endif /* the max number of mounted file system */ #define DFS_FILESYSTEMS_MAX 4 -- GitLab