提交 157e3264 编写于 作者: P prife

dfs_elm.c: fix the head file conflicts caused by time.h

上级 377c153c
......@@ -10,6 +10,8 @@
#undef RT_USING_MINILIBC
#define NORESOURCE //RT_VESRION in winuser.h
#define _CRT_ERRNO_DEFINED //errno macro redefinition
#define _INC_WTIME_INL//dfs_elm.c time.h conflicts with wtime.inl
#define _INC_TIME_INL //dfs_elm.c time.h conflicts with wtime.inl
/* disable some warning in MSC */
#pragma warning(disable:4273) /* to ignore: warning C4273: inconsistent dll linkage */
......
......@@ -17,12 +17,11 @@
* 2013-03-01 aozima fixed the stat(st_mtime) issue.
*/
#include <string.h>
#include <time.h>
#include <rtthread.h>
#include "ffconf.h"
#include "ff.h"
#include <string.h>
#include <time.h>
/* ELM FatFs provide a DIR struct */
#define HAVE_DIR_STRUCTURE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册