summaryrefslogtreecommitdiff
path: root/bsp/simulator
diff options
context:
space:
mode:
authorprife <[email protected]>2013-01-28 18:06:59 +0800
committerprife <[email protected]>2013-01-28 18:06:59 +0800
commit4f02e67bef7eacee5102d7730356663d9c889e15 (patch)
tree249a4bbea89bf05d78d8138fa37afb3937a5cfed /bsp/simulator
parent5cc1dcb8790a12671211a88ff0018c94f9f76433 (diff)
enabe dfs_win32 in simulator when built on windows
Diffstat (limited to 'bsp/simulator')
-rwxr-xr-xbsp/simulator/rtconfig.h4
1 files changed, 3 insertions, 1 deletions
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