Fix mg_stat

PUBLISHED_FROM=e6fb19c5256b6d43359f21b325e16b415152f26f
This commit is contained in:
Alexander Alashkin authored and Cesanta Bot committed 2016-11-29 13:36:55 +00:00
1 parent ea7d69060d
commit 7267fc757d
2 files changed
+1 -5

No files matched your search

-4
View File
@@ -248,11 +248,7 @@ typedef uint32_t in_addr_t;
#define INT64_FMT "I64d"
#define INT64_X_FMT "I64x"
#define SIZE_T_FMT "Iu"
#if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
typedef struct stat cs_stat_t;
#else
typedef struct _stati64 cs_stat_t;
#endif
#ifndef S_ISDIR
#define S_ISDIR(x) (((x) &_S_IFMT) == _S_IFDIR)
#endif