summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Preen <preen@informatik.uni-freiburg.de>2022-05-07 16:52:05 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-05-07 16:52:47 +0100
commita6b77bc13e95b9689821ee8c2a53d044ced195b0 (patch)
tree3bf0e66a3f2f02b4e299af55a30906a314e72c45
parent225c84f0f35d3aea1f0845eedde7632c371e1f99 (diff)
downloadexim4-a6b77bc13e95b9689821ee8c2a53d044ced195b0.tar.gz
Fix build with Solaris compiler
-rw-r--r--src/src/hintsdb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/src/hintsdb.h b/src/src/hintsdb.h
index e3e9e98d8..b8e6744d6 100644
--- a/src/src/hintsdb.h
+++ b/src/src/hintsdb.h
@@ -203,7 +203,11 @@ at DB release 4.3. */
static inline void
dbfn_bdb_error_callback(const DB_ENV * dbenv, const char * pfx, const char * msg)
-{ log_write(0, LOG_MAIN, "Berkeley DB error: %s", msg); }
+{
+#ifndef MACRO_PREDEF
+log_write(0, LOG_MAIN, "Berkeley DB error: %s", msg);
+#endif
+}