]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2491] VS2013 project files
authorHarlan Stenn <stenn@ntp.org>
Fri, 29 Nov 2013 10:40:01 +0000 (05:40 -0500)
committerHarlan Stenn <stenn@ntp.org>
Fri, 29 Nov 2013 10:40:01 +0000 (05:40 -0500)
bk: 52986f01HQ_e6Cu7StqB63uoyr9fMA

ports/winnt/include/config.h

index 5dcae971e5de86faee1c43f7193fa310a82469c9..a3d78160704ed580b109740731b5995ef71d4e9a 100644 (file)
@@ -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)