config-win32.h: Fixed HAVE_LONGLONG for Visual Studio .NET 2003 and up
authorSteve Holme <steve_holme@hotmail.com>
Sun, 4 May 2014 17:54:10 +0000 (18:54 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 4 May 2014 18:05:06 +0000 (19:05 +0100)
Fixed the HAVE_LONGLONG declaration as long long is supported in Visual
Studio .NET 2003 (VC7.1) onwards.

lib/config-win32.h

index 59ba4e5..8719fb1 100644 (file)
@@ -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
 #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