summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2014-07-14 03:10:41 -0400
committerPhil Pennock <pdp@exim.org>2014-07-14 03:10:41 -0400
commit2fc44bd527012cc3075667f8f50243ee01cdcd27 (patch)
treefd48f1d19b482e7507e3e0905592b75a5e1b792a
parentca492d885a01e0bf0b9abfab456c31d5c087588c (diff)
MacOS: fix clang redef warning
-rw-r--r--src/OS/os.h-Darwin5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/OS/os.h-Darwin b/src/OS/os.h-Darwin
index af06bdcbc..559003f53 100644
--- a/src/OS/os.h-Darwin
+++ b/src/OS/os.h-Darwin
@@ -36,7 +36,10 @@ updating Exim to use the newer interface. */
#define DYNLIB_FN_EXT "dylib"
/* We currently need some assistance getting OFF_T_FMT correct on MacOS */
-#define OFF_T_FMT "%llu"
+#ifdef OFF_T_FMT
+# undef OFF_T_FMT
+#endif
+#define OFF_T_FMT "%lld"
#define LONGLONG_T long int
/* End */