From 5f4e95e7c16a63bbda4f3654126cc81806f779d8 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 8 Sep 2015 15:00:09 -0500 Subject: updates for MSVC 2015's degenerate headers Note that 'perror' moves from stdio.h to stdlib.h, and 'rename' moves from stdio.h to io.h. Also, standard C includes move from the compiler to the Windows SDK, which changes the base path for the include files. --- include/compat/string.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/compat/string.h') diff --git a/include/compat/string.h b/include/compat/string.h index eabc4c4..f0a0711 100644 --- a/include/compat/string.h +++ b/include/compat/string.h @@ -7,7 +7,11 @@ #define LIBCRYPTOCOMPAT_STRING_H #ifdef _MSC_VER +#if _MSC_VER >= 1900 +#include <../ucrt/string.h> +#else #include <../include/string.h> +#endif #else #include_next #endif -- cgit v1.2.3-55-g6feb