[exim-cvs] MacOS: fix clang redef warning

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] MacOS: fix clang redef warning
Gitweb: http://git.exim.org/exim.git/commitdiff/2fc44bd527012cc3075667f8f50243ee01cdcd27
Commit:     2fc44bd527012cc3075667f8f50243ee01cdcd27
Parent:     ca492d885a01e0bf0b9abfab456c31d5c087588c
Author:     Phil Pennock <pdp@???>
AuthorDate: Mon Jul 14 03:10:41 2014 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Mon Jul 14 03:10:41 2014 -0400


    MacOS: fix clang redef warning
---
 src/OS/os.h-Darwin |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/src/OS/os.h-Darwin b/src/OS/os.h-Darwin
index af06bdc..559003f 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 */