mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 18:57:16 +08:00
update dfs to support NFTL
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2478 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -198,6 +198,11 @@
|
||||
#define DFS_SEEK_SET SEEK_SET
|
||||
#define DFS_SEEK_CUR SEEK_CUR
|
||||
#define DFS_SEEK_END SEEK_END
|
||||
#elif defined(_MSC_VER)
|
||||
#include <stdio.h>
|
||||
#define DFS_SEEK_SET SEEK_SET
|
||||
#define DFS_SEEK_CUR SEEK_CUR
|
||||
#define DFS_SEEK_END SEEK_END
|
||||
#else
|
||||
#define DFS_SEEK_SET 0
|
||||
#define DFS_SEEK_CUR 1
|
||||
|
||||
@@ -69,6 +69,8 @@
|
||||
|
||||
#if defined(__CC_ARM)
|
||||
#include <stdio.h>
|
||||
#elif defined(_MSC_VER)
|
||||
#include <stdio.h>
|
||||
#else
|
||||
#define SEEK_SET DFS_SEEK_SET
|
||||
#define SEEK_CUR DFS_SEEK_CUR
|
||||
|
||||
Reference in New Issue
Block a user