diff options
| -rw-r--r-- | src/tools/chdman.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/chdman.cpp b/src/tools/chdman.cpp index 6029f481e07..edf7ee0b14a 100644 --- a/src/tools/chdman.cpp +++ b/src/tools/chdman.cpp @@ -34,8 +34,10 @@ // CONSTANTS & DEFINES //************************************************************************** /* MINGW has adopted the MSVC formatting for 64-bit ints as of gcc 4.4 */ -#if defined(__MINGW32__) || defined(_MSC_VER) +#if defined(WIN32) #define I64FMT "I64" +#elif !defined(__APPLE__) && defined(__LP64__) +#define I64FMT "l" #else #define I64FMT "ll" #endif |
