summaryrefslogtreecommitdiff
path: root/src/msvc-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/msvc-compat.h')
-rw-r--r--src/msvc-compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/msvc-compat.h b/src/msvc-compat.h
index 89f410d4b..df3e62d11 100644
--- a/src/msvc-compat.h
+++ b/src/msvc-compat.h
@@ -21,6 +21,8 @@
# define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO)
# define S_ISLNK(m) (((m) & _S_IFMT) == _S_IFLNK)
+# define mode_t unsigned short
+
/* case-insensitive string comparison */
# define strcasecmp _stricmp
# define strncasecmp _strnicmp