From 9c2f0ef51ce8d0f9210497f3b81b01c073cac3ae 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/stdlib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/compat/stdlib.h') diff --git a/include/compat/stdlib.h b/include/compat/stdlib.h index e31f075..506d463 100644 --- a/include/compat/stdlib.h +++ b/include/compat/stdlib.h @@ -4,7 +4,11 @@ */ #ifdef _MSC_VER +#if _MSC_VER >= 1900 +#include <../ucrt/stdlib.h> +#else #include <../include/stdlib.h> +#endif #else #include_next #endif -- cgit v1.2.3-55-g6feb