chdman.cpp: GCC 9.3 is actually the cutoff point for legacy MSVC-style long long format flags.

This commit is contained in:
Vas Crabb 2020-08-23 10:22:24 +10:00
parent a594ee4933
commit a8c6add452

View File

@ -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"