summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-22 05:12:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:57 -0500
commit787b65b048f2079c51a8f3e8ad36fcd5cde39f12 (patch)
tree84d93317033b1390f4697a3b95f6a2c72af44ca2 /source4/lib
parentb3a11c86e1ca199de9daa8c5f8d7967746db3c77 (diff)
downloadsamba-787b65b048f2079c51a8f3e8ad36fcd5cde39f12.tar.gz
samba-787b65b048f2079c51a8f3e8ad36fcd5cde39f12.tar.bz2
samba-787b65b048f2079c51a8f3e8ad36fcd5cde39f12.zip
r2493: allow tdb to build standalone
(This used to be commit 0d5af5b70bd010e7107b18f73a4b899e05c4f025)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/tdb/include/tdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/tdb/include/tdb.h b/source4/lib/tdb/include/tdb.h
index ed8c247b08..6f4f3235a7 100644
--- a/source4/lib/tdb/include/tdb.h
+++ b/source4/lib/tdb/include/tdb.h
@@ -85,6 +85,10 @@ struct tdb_traverse_lock {
u32 hash;
};
+#ifndef PRINTF_ATTRIBUTE
+#define PRINTF_ATTRIBUTE(a,b)
+#endif
+
/* this is the context structure that is returned from a db open */
typedef struct tdb_context {
char *name; /* the name of the database */