From 6ebc0d3bd8ccbedb664a917ff770e6f1e2540e30 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 4 May 2014 18:54:10 +0100 Subject: [PATCH] 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. --- lib/config-win32.h | 5 +++-- 1 file 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, , 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 -- 2.50.0