mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
Fix MDB_DEBUG compile when no varargs macros.
Variables mdb_debug, mdb_debug_start were used undefined.
This commit is contained in:
parent
30da15a18d
commit
a70b026f6b
1 changed files with 2 additions and 0 deletions
|
|
@ -286,6 +286,8 @@ typedef MDB_ID txnid_t;
|
|||
#endif
|
||||
|
||||
#if !(__STDC_VERSION__ >= 199901L || defined(__GNUC__))
|
||||
# undef MDB_DEBUG
|
||||
# define MDB_DEBUG 0
|
||||
# define DPRINTF (void) /* Vararg macros may be unsupported */
|
||||
#elif MDB_DEBUG
|
||||
static int mdb_debug;
|
||||
|
|
|
|||
Loading…
Reference in a new issue