Merge pull request #719 from bmunger/master

Fix I64FMT in chdman for Linux 64 bit
This commit is contained in:
Vas Crabb 2016-03-15 04:29:58 +11:00
commit 0e48eb2a43

View File

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