diff options
author | Vas Crabb <vas@vastheman.com> | 2020-06-02 19:18:20 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2020-06-02 19:18:20 +1000 |
commit | 5d4b8530d126d52e5eec7306e62b6665b4c5ef20 (patch) | |
tree | 1c570f7988844de4876d8c847bc332ff6b6390b7 /src/tools | |
parent | 61f1cb34ef21dc239dec760f52f993c45d35d78a (diff) |
looks like I64 size qualifier is only needed for MSYS64 GCC 9 and earlier (nw)
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/chdman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/chdman.cpp b/src/tools/chdman.cpp index b1bce80ac07..d56fd7c1d25 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 */ -#if defined(WIN32) +// 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) #define I64FMT "I64" #elif !defined(__APPLE__) && defined(__LP64__) #define I64FMT "l" |