summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-08-23 10:22:24 +1000
committer Vas Crabb <vas@vastheman.com>2020-08-23 10:22:24 +1000
commita8c6add45260aa96d74bc69a15e2006fe5dcda93 (patch)
tree3fb20b0fb1de188ff94d767355c9ec285597f187 /src/tools
parenta594ee4933993cbcaa0b2811630829b86e061415 (diff)
chdman.cpp: GCC 9.3 is actually the cutoff point for legacy MSVC-style long long format flags.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/chdman.cpp4
1 files 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"