Commit dcb65390 authored by Robert David Graham's avatar Robert David Graham Committed by GitHub
Browse files

Merge pull request #228 from konlinedk/patch-2

Update string_s.h
parents 644c6954 18df0910
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>