Просмотр исходного кода

enabe dfs_win32 in simulator when built on windows

prife 13 лет назад
Родитель
Сommit
4f02e67bef
1 измененных файлов с 3 добавлено и 1 удалено
  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