summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/dfs/filesystems/elmfat/dfs_elm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/elmfat/dfs_elm.c b/components/dfs/filesystems/elmfat/dfs_elm.c
index d8c38e96ae..7e5e00aaf6 100644
--- a/components/dfs/filesystems/elmfat/dfs_elm.c
+++ b/components/dfs/filesystems/elmfat/dfs_elm.c
@@ -945,7 +945,7 @@ DWORD get_fattime(void)
{
DWORD fat_time = 0;
-#ifdef RT_USING_LIBC
+#ifdef RT_LIBC_USING_TIME
time_t now;
struct tm *p_tm;
struct tm tm_now;