summaryrefslogtreecommitdiff
path: root/lib/ntdb/test/no-fsync.h
blob: f0c098e23c8a1933c3b4a27ea4c61f4fa6141cb0 (plain)
1
2
3
4
5
6
#ifndef NTDB_NO_FSYNC_H
#define NTDB_NO_FSYNC_H
/* Obey $TDB_NO_FSYNC, a bit like tdb does (only note our NTDB_NOSYNC
 * does less) */
#define MAYBE_NOSYNC (getenv("TDB_NO_FSYNC") ? NTDB_NOSYNC : 0)
#endif