From: Jeremy Harris Date: Fri, 1 Apr 2022 20:18:16 +0000 (+0100) Subject: Build: remove hints-DB interface from macro-predef phase X-Git-Tag: exim-4.96-RC0~19 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/d518c8b6721ea30a9dc3190e57157edd676234ec Build: remove hints-DB interface from macro-predef phase --- diff --git a/src/src/hintsdb.h b/src/src/hintsdb.h index 22ba13cad..d7116f7c3 100644 --- a/src/src/hintsdb.h +++ b/src/src/hintsdb.h @@ -17,7 +17,7 @@ For convenience, the definitions of the structures used in the various hints databases are also kept in this file, which is used by the maintenance utilities as well as the main Exim binary. */ -#ifndef HINTSDB_H +#if !defined(HINTSDB_H) && !defined(MACRO_PREDEF) #define HINTSDB_H @@ -746,7 +746,7 @@ exim_datum_free(EXIM_DATUM * d) -#if defined(COMPILE_UTILITY) || defined(MACRO_PREDEF) +#ifdef COMPILE_UTILITY static inline EXIM_DB * exim_dbopen(const uschar * name, const uschar * dirname, int flags, @@ -797,7 +797,7 @@ DEBUG(D_hints_lookup) debug_printf_indent("EXIM_DBCLOSE(%p)\n", dbp); exim_dbclose__(dbp); } -# endif /* defined(COMPILE_UTILITY) || defined(MACRO_PREDEF) */ +# endif /* COMPILE_UTILITY */ /********************* End of dbm library definitions **********************/