mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
Define strncasecmp and ftruncate for MSVC
Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
435bdf8c7f
commit
386ac45102
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue