Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add support for "import" helper command
[gitweb.git]
/
compat
/
msvc.h
diff --git
a/compat/msvc.h
b/compat/msvc.h
index 53a6d30c02597bd5095582181419b333b7bffccb..9c753a560fcadb44a6e4afb22828584b6fd20db3 100644
(file)
--- 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)
{