From 18e31c19ebcf7561ffdb5445224310356b051d1c Mon Sep 17 00:00:00 2001 From: Harlan Stenn Date: Fri, 29 Nov 2013 05:40:01 -0500 Subject: [PATCH] [Bug 2491] VS2013 project files bk: 52986f01HQ_e6Cu7StqB63uoyr9fMA --- ports/winnt/include/config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ports/winnt/include/config.h b/ports/winnt/include/config.h index 5dcae971e..a3d781607 100644 --- a/ports/winnt/include/config.h +++ b/ports/winnt/include/config.h @@ -12,6 +12,7 @@ /* * Known predifined MS compiler version codes: + * 1800: MSVC++ 11.0 (Visual Studio 2013) * 1700: MSVC++ 11.0 (Visual Studio 2012) * 1600: MSVC++ 10.0 (Visual Studio 2010) * 1500: MSVC++ 9.0 (Visual Studio 2008) @@ -447,13 +448,16 @@ typedef unsigned long uintptr_t; /* C99 exact size integer support. */ -#if defined(_MSC_VER) +#if defined(_MSC_VER) && _MSC_VER<1800 # define MISSING_INTTYPES_H 1 /* not provided by VS2012 and earlier */ # define MISSING_STDBOOL_H 1 /* not provided by VS2012 and earlier */ #else /* add defines for non-MS compilers here, if required */ #endif +#if !defined (MISSING_STDBOOL_H) +# define HAVE_STDBOOL_H +#endif #if !defined(MISSING_INTTYPES_H) # define HAVE_INTTYPES_H 1 #elif !defined(MISSING_STDINT_H) -- 2.47.3