diff options
author | Martin Preen <preen@informatik.uni-freiburg.de> | 2022-05-07 16:52:05 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2022-05-07 16:52:47 +0100 |
commit | a6b77bc13e95b9689821ee8c2a53d044ced195b0 (patch) | |
tree | 3bf0e66a3f2f02b4e299af55a30906a314e72c45 /src | |
parent | 225c84f0f35d3aea1f0845eedde7632c371e1f99 (diff) |
Fix build with Solaris compiler
Diffstat (limited to 'src')
-rw-r--r-- | src/src/hintsdb.h | 6 |
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 +} |