]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/tdb_private.h
Handle pre-existing records, wipe_all and repack (ldb users.ldb trace)
[ccan] / ccan / tdb / tdb_private.h
index b6eae478736696541d0767f5a90a529ba5b1d459..42770c353b6fa106eff6f8615ab2b2f7235dad6d 100644 (file)
@@ -34,6 +34,7 @@
 #include "system/wait.h"
 #else
 #define _XOPEN_SOURCE 500
+#define _FILE_OFFSET_BITS 64
 #include <stdint.h>
 #include <stdbool.h>
 #include <stdlib.h>
@@ -49,7 +50,7 @@
 #endif
 #include "tdb.h"
 
-#define TDB_TRACE 1
+/* #define TDB_TRACE 1 */
 
 #if HAVE_GETPAGESIZE
 #define getpagesize() 0x2000