git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d518c8b
)
Revert "Build: remove hints-DB interface from macro-predef phase"
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 2 Apr 2022 06:58:36 +0000
(07:58 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 2 Apr 2022 06:58:36 +0000
(07:58 +0100)
This reverts commit
d518c8b6721ea30a9dc3190e57157edd676234ec
.
src/src/hintsdb.h
patch
|
blob
|
history
diff --git
a/src/src/hintsdb.h
b/src/src/hintsdb.h
index d7116f7c3ad963a0b20899b06e96e43cca2b8285..22ba13cadc9c6921c6e8534caf666154b0e26863 100644
(file)
--- 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. */
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)
+#if
ndef HINTSDB_H
#define HINTSDB_H
#define HINTSDB_H
@@
-746,7
+746,7
@@
exim_datum_free(EXIM_DATUM * d)
-#if
def COMPILE_UTILITY
+#if
defined(COMPILE_UTILITY) || defined(MACRO_PREDEF)
static inline EXIM_DB *
exim_dbopen(const uschar * name, const uschar * dirname, int flags,
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);
}
exim_dbclose__(dbp);
}
-# endif /*
COMPILE_UTILITY
*/
+# endif /*
defined(COMPILE_UTILITY) || defined(MACRO_PREDEF)
*/
/********************* End of dbm library definitions **********************/
/********************* End of dbm library definitions **********************/