dfs_elm.c: fix the head file conflicts caused by time.h
This commit is contained in:
parent
377c153c40
commit
157e326487
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue