Commit 07234716 by Sebastian Schuberth

Define str(n)casecmp for MSVC

MSVC has _str(n)icmp instead.
parent 875a5c2d
...@@ -17,6 +17,10 @@ ...@@ -17,6 +17,10 @@
# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) # define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
# define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO) # define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO)
/* case-insensitive string comparision */
# define strcasecmp _stricmp
# define strncasecmp _strnicmp
#if (_MSC_VER >= 1600) #if (_MSC_VER >= 1600)
# include <stdint.h> # include <stdint.h>
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment