diff --git a/example/client.vcxproj b/example/client.vcxproj index a00f015..51d06c1 100644 --- a/example/client.vcxproj +++ b/example/client.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -20,12 +20,14 @@ Application true Unicode + v140 Application false true Unicode + v140 diff --git a/example/server.vcxproj b/example/server.vcxproj index a8e91e6..f4e7181 100644 --- a/example/server.vcxproj +++ b/example/server.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -20,12 +20,14 @@ Application true Unicode + v140 Application false true Unicode + v140 @@ -83,4 +85,4 @@ - + \ No newline at end of file diff --git a/httplib.h b/httplib.h index 74af63c..ad47a21 100644 --- a/httplib.h +++ b/httplib.h @@ -18,7 +18,7 @@ #ifndef SO_OPENTYPE #define SO_OPENTYPE 0x7008 #endif -#ifndef snprintf +#if (_MSC_VER < 1900) #define snprintf _snprintf_s #endif diff --git a/test/test.vcxproj b/test/test.vcxproj index 5ac1b53..b19fd4c 100644 --- a/test/test.vcxproj +++ b/test/test.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -27,26 +27,26 @@ Application true - v120 + v140 Unicode Application true - v120 + v140 Unicode Application false - v120 + v140 true Unicode Application false - v120 + v140 true Unicode