summaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-06-05 09:10:54 +0200
committerSteve Holme <steve_holme@hotmail.com>2014-06-05 22:44:46 +0100
commit65467cf9cb3397f4ecc3318158628663718fa964 (patch)
treed69528d9734c9c64a188da3f212bcfacf8ac9efa /lib/config-win32.h
parent5468a2122c3f98fef8162feb9479d65c8cbbe8c9 (diff)
downloadcurl-65467cf9cb3397f4ecc3318158628663718fa964.tar.gz
config-win32.h: Updated for VC12
Bug: http://curl.haxx.se/bug/view.cgi?id=1378 Reported and Patched-by: Marcel Raad
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h18
1 files changed, 17 insertions, 1 deletions
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 <inttypes.h> header file. */
+#if defined(_MSC_VER) && (_MSC_VER >= 1800)
+#define HAVE_INTTYPES_H 1
+#endif
+
/* Define if you have the <io.h> header file. */
#define HAVE_IO_H 1
@@ -87,6 +92,11 @@
/* Define if you have the <ssl.h> header file. */
/* #define HAVE_SSL_H 1 */
+/* Define to 1 if you have the <stdbool.h> header file. */
+#if defined(_MSC_VER) && (_MSC_VER >= 1800)
+#define HAVE_STDBOOL_H 1
+#endif
+
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
@@ -160,6 +170,11 @@
/* Define if you can safely include both <sys/time.h> and <time.h>. */
/* #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