1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

more portable TDB_LOG macro

(This used to be commit ba106b9b07b23c3dc1b40c8feb10cff173faa07a)
This commit is contained in:
Andrew Tridgell 2001-05-29 15:01:23 +00:00
parent 1744a49cae
commit 40518cf9b4

View File

@ -56,7 +56,7 @@
#define TDB_DEAD(r) ((r)->magic == TDB_DEAD_MAGIC)
#define TDB_BAD_MAGIC(r) ((r)->magic != TDB_MAGIC && !TDB_DEAD(r))
#define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off))
#define TDB_LOG(x) (tdb->log_fn?tdb->log_fn x : 0)
#define TDB_LOG(x) (tdb->log_fn?tdb->log_fn x,0 : 0)
/* lock offsets */
#define GLOBAL_LOCK 0