summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat/msvc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/msvc.h b/compat/msvc.h
index 53a6d30c02..9c753a560f 100644
--- a/compat/msvc.h
+++ b/compat/msvc.h
@@ -10,6 +10,8 @@
#define __inline__ __inline
#define __attribute__(x)
#define va_copy(dst, src) ((dst) = (src))
+#define strncasecmp _strnicmp
+#define ftruncate _chsize
static __inline int strcasecmp (const char *s1, const char *s2)
{