]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix mode_t on Windows 1905/head
authorYann Collet <cyan@fb.com>
Mon, 25 Nov 2019 21:59:35 +0000 (13:59 -0800)
committerYann Collet <cyan@fb.com>
Mon, 25 Nov 2019 21:59:35 +0000 (13:59 -0800)
programs/util.h

index 46e1f21f5a00ef8ca3a4790118c82492d74280fe..e67faba5c6ae1e5a26271d367c2b3b63944dca31 100644 (file)
@@ -115,6 +115,7 @@ extern int g_utilDisplayLevel;
 ******************************************/
 #if defined(_MSC_VER)
     typedef struct __stat64 stat_t;
+    typedef int mode_t;
 #else
     typedef struct stat stat_t;
 #endif