From 33da5e88a08f8a8aeb0da9bd413e83deb30eac1e Mon Sep 17 00:00:00 2001 From: Brandon Munger Date: Mon, 14 Mar 2016 13:11:41 -0400 Subject: [PATCH] chdman I64FMT fix for OSX, FreeBSD --- src/tools/chdman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/chdman.cpp b/src/tools/chdman.cpp index 75a1b20147b..11b1341cc21 100644 --- a/src/tools/chdman.cpp +++ b/src/tools/chdman.cpp @@ -36,7 +36,7 @@ /* MINGW has adopted the MSVC formatting for 64-bit ints as of gcc 4.4 */ #if defined(__MINGW32__) || defined(_MSC_VER) #define I64FMT "I64" -#elif defined(__linux__) && defined(__LP64__) +#elif !defined(__APPLE__) && defined(__LP64__) #define I64FMT "l" #else #define I64FMT "ll"