From: Harlan Stenn Date: Fri, 29 Nov 2013 10:40:01 +0000 (-0500) Subject: [Bug 2491] VS2013 project files X-Git-Tag: NTP_4_2_7P400~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18e31c19ebcf7561ffdb5445224310356b051d1c;p=thirdparty%2Fntp.git [Bug 2491] VS2013 project files bk: 52986f01HQ_e6Cu7StqB63uoyr9fMA --- 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)