]> git.ozlabs.org Git - ccan/blob - ccan/ntdb/test/no-fsync.h
ntdb: next-generation trivial key-value database
[ccan] / ccan / ntdb / test / no-fsync.h
1 #ifndef NTDB_NO_FSYNC_H
2 #define NTDB_NO_FSYNC_H
3 /* Obey $TDB_NO_FSYNC, a bit like tdb does (only note our NTDB_NOSYNC
4  * does less) */
5 #define MAYBE_NOSYNC (getenv("TDB_NO_FSYNC") ? NTDB_NOSYNC : 0)
6 #endif