no-fsync.h 206 B

123456
  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