Browse Source

enabe dfs_win32 in simulator when built on windows

prife 12 năm trước cách đây
mục cha
commit
4f02e67bef
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      bsp/simulator/rtconfig.h

+ 3 - 1
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