]> git.ozlabs.org Git - ccan/blob - junkcode/rusty@rustcorp.com.au-ntdb/test/no-fsync.h
ccan/ntdb: demote to junkcode.
[ccan] / junkcode / rusty@rustcorp.com.au-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