소스 검색

enabe dfs_win32 in simulator when built on windows

prife 12 년 전
부모
커밋
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