From: Steve Holme Date: Sun, 4 May 2014 17:54:10 +0000 (+0100) Subject: config-win32.h: Fixed HAVE_LONGLONG for Visual Studio .NET 2003 and up X-Git-Tag: curl-7_37_0~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ebc0d3bd8ccbedb664a917ff770e6f1e2540e30;p=curl 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. --- 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, , et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, , 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