mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 17:46:09 +00:00
Define str(n)casecmp for MSVC
MSVC has _str(n)icmp instead.
This commit is contained in:
parent
875a5c2df7
commit
072347166f
@ -17,6 +17,10 @@
|
||||
# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
|
||||
# define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO)
|
||||
|
||||
/* case-insensitive string comparision */
|
||||
# define strcasecmp _stricmp
|
||||
# define strncasecmp _strnicmp
|
||||
|
||||
#if (_MSC_VER >= 1600)
|
||||
# include <stdint.h>
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user