From 65467cf9cb3397f4ecc3318158628663718fa964 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Thu, 5 Jun 2014 09:10:54 +0200 Subject: [PATCH] config-win32.h: Updated for VC12 Bug: http://curl.haxx.se/bug/view.cgi?id=1378 Reported and Patched-by: Marcel Raad --- lib/config-win32.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/config-win32.h b/lib/config-win32.h index 8719fb12c..62bbedcaa 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -53,6 +53,11 @@ #define HAVE_GETOPT_H 1 #endif +/* Define to 1 if you have the header file. */ +#if defined(_MSC_VER) && (_MSC_VER >= 1800) +#define HAVE_INTTYPES_H 1 +#endif + /* Define if you have the header file. */ #define HAVE_IO_H 1 @@ -87,6 +92,11 @@ /* Define if you have the header file. */ /* #define HAVE_SSL_H 1 */ +/* Define to 1 if you have the header file. */ +#if defined(_MSC_VER) && (_MSC_VER >= 1800) +#define HAVE_STDBOOL_H 1 +#endif + /* Define if you have the header file. */ #define HAVE_STDLIB_H 1 @@ -160,6 +170,11 @@ /* Define if you can safely include both and . */ /* #define TIME_WITH_SYS_TIME 1 */ +/* Define to 1 if bool is an available type. */ +#if defined(_MSC_VER) && (_MSC_VER >= 1800) +#define HAVE_BOOL_T 1 +#endif + /* ---------------------------------------------------------------- */ /* FUNCTIONS */ /* ---------------------------------------------------------------- */ @@ -250,7 +265,8 @@ #define HAVE_STRSTR 1 /* Define if you have the strtoll function. */ -#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__POCC__) +#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__POCC__) || \ + (defined(_MSC_VER) && (_MSC_VER >= 1800)) #define HAVE_STRTOLL 1 #endif -- 2.40.0