summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-04-02 07:58:36 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-04-02 07:58:36 +0100
commit673fcb1022126588ab5dc3ab2dcfae30a8e78d4d (patch)
treefded7aa844a62eda491cad437a86e85f00247fc2
parentd518c8b6721ea30a9dc3190e57157edd676234ec (diff)
Revert "Build: remove hints-DB interface from macro-predef phase"
This reverts commit d518c8b6721ea30a9dc3190e57157edd676234ec.
-rw-r--r--src/src/hintsdb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/src/hintsdb.h b/src/src/hintsdb.h
index d7116f7c3..22ba13cad 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. */
-#if !defined(HINTSDB_H) && !defined(MACRO_PREDEF)
+#ifndef HINTSDB_H
#define HINTSDB_H
@@ -746,7 +746,7 @@ exim_datum_free(EXIM_DATUM * d)
-#ifdef COMPILE_UTILITY
+#if defined(COMPILE_UTILITY) || defined(MACRO_PREDEF)
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 /* COMPILE_UTILITY */
+# endif /* defined(COMPILE_UTILITY) || defined(MACRO_PREDEF) */
/********************* End of dbm library definitions **********************/