Explorar o código

enabe dfs_win32 in simulator when built on windows

prife %!s(int64=12) %!d(string=hai) anos
pai
achega
4f02e67bef
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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