fix mode_t on Windows

This commit is contained in:
Yann Collet 2019-11-25 13:59:35 -08:00
parent 9a22140ef4
commit b1de3ecdd5

View File

@ -115,6 +115,7 @@ extern int g_utilDisplayLevel;
******************************************/ ******************************************/
#if defined(_MSC_VER) #if defined(_MSC_VER)
typedef struct __stat64 stat_t; typedef struct __stat64 stat_t;
typedef int mode_t;
#else #else
typedef struct stat stat_t; typedef struct stat stat_t;
#endif #endif