From a8c6add45260aa96d74bc69a15e2006fe5dcda93 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 23 Aug 2020 10:22:24 +1000 Subject: chdman.cpp: GCC 9.3 is actually the cutoff point for legacy MSVC-style long long format flags. --- src/tools/chdman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/chdman.cpp b/src/tools/chdman.cpp index d56fd7c1d25..0444bea3da1 100644 --- a/src/tools/chdman.cpp +++ b/src/tools/chdman.cpp @@ -38,8 +38,8 @@ //************************************************************************** // CONSTANTS & DEFINES //************************************************************************** -// MINGW has adopted the MSVC formatting for 64-bit ints as of GCC 4.4 and deprecated it as of GCC 10 -#if defined(WIN32) && defined(__GNUC__) && (__GNUC__ < 10) +// MINGW has adopted the MSVC formatting for 64-bit ints as of GCC 4.4 and deprecated it as of GCC 9.3 +#if defined(WIN32) && defined(__GNUC__) && ((__GNUC__ < 9) || ((__GNUC__ == 9) && (__GNUC_MINOR__ < 3))) #define I64FMT "I64" #elif !defined(__APPLE__) && defined(__LP64__) #define I64FMT "l" -- cgit v1.2.3