xxhsum: Don't redefine mode_t on MinGW

This commit is contained in:
easyaspi314 (Devin) 2020-09-17 10:05:37 -04:00
parent 2f9c567857
commit a217d5fa46

View File

@ -37,7 +37,9 @@
*/
#if defined(_MSC_VER) || XSUM_WIN32_USE_WCHAR
typedef struct __stat64 XSUM_stat_t;
# if defined(_MSC_VER)
typedef int mode_t;
# endif
#else
typedef struct stat XSUM_stat_t;
#endif