]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/transaction.c
ccanize tdb further, and add simple test.
[ccan] / ccan / tdb / transaction.c
index 6a34c4526993d73d25a13778474739a3afa0b971..d6db8b01329913e09dbd55e6cec82aa61b0d4f9f 100644 (file)
@@ -989,7 +989,7 @@ int tdb_transaction_commit(struct tdb_context *tdb)
           not be backed up (as tdb rounding to block sizes means that
           file size changes are quite rare too). The following forces
           mtime changes when a transaction completes */
-#ifdef HAVE_UTIME
+#if HAVE_UTIME
        utime(tdb->name, NULL);
 #endif