Commit 18df0910 authored by konlinedk's avatar konlinedk
Browse files

Update string_s.h

Updated for support of Visual Studio 2015 Community Edition
parent 46fa90f5
Loading
Loading
Loading
Loading
+13 −1
Changes for src/string_s.h: 13 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -55,7 +55,19 @@

const char *strerror_x(int x);

#if defined(_MSC_VER) && (_MSC_VER == 1600)
#if defined(_MSC_VER) && (_MSC_VER == 1900)
/*Visual Studio 2015*/
# include <stdio.h>
# include <string.h>
# define strcasecmp     _stricmp
# define memcasecmp     _memicmp
# ifndef PRIu64
#  define PRIu64 "llu"
#  define PRId64 "lld"
#  define PRIx64 "llx"
# endif

#elif defined(_MSC_VER) && (_MSC_VER == 1600)
/*Visual Studio 2010*/
# include <stdio.h>
# include <string.h>