From: Martin Preen Date: Sat, 7 May 2022 15:52:05 +0000 (+0100) Subject: Fix build with Solaris compiler X-Git-Tag: exim-4.96-RC1~8 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/a6b77bc13e95b9689821ee8c2a53d044ced195b0 Fix build with Solaris compiler --- 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 +}