summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Brandon Munger <bmunger@gmail.com>2016-03-14 13:11:41 -0400
committer Brandon Munger <bmunger@gmail.com>2016-03-14 13:11:41 -0400
commit33da5e88a08f8a8aeb0da9bd413e83deb30eac1e (patch)
treee642f64f0fe631c04dfe80ff5ca7e050fa65e873
parent63e253e2c5e3f1b5441536b76225e8ef02d3944b (diff)
chdman I64FMT fix for OSX, FreeBSD
-rw-r--r--src/tools/chdman.cpp2
1 files changed, 1 insertions, 1 deletions
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"