summaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-05-04 18:54:10 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-05-04 19:05:06 +0100
commit6ebc0d3bd8ccbedb664a917ff770e6f1e2540e30 (patch)
tree02767922b7baa5c7ca89a5cc0a5969686c3e5384 /lib/config-win32.h
parent21aafd09f6758352cf2d70cbe5cc8ea018354d63 (diff)
downloadcurl-6ebc0d3bd8ccbedb664a917ff770e6f1e2540e30.tar.gz
config-win32.h: Fixed HAVE_LONGLONG for Visual Studio .NET 2003 and up
Fixed the HAVE_LONGLONG declaration as long long is supported in Visual Studio .NET 2003 (VC7.1) onwards.
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 59ba4e538..8719fb12c 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -465,7 +465,8 @@
#endif
/* Define if the compiler supports the 'long long' data type. */
-#if defined(__MINGW32__) || defined(__WATCOMC__)
+#if defined(__MINGW32__) || defined(__WATCOMC__) || \
+ (defined(_MSC_VER) && (_MSC_VER >= 1310))
#define HAVE_LONGLONG 1
#endif