Thanks for your report. We need to hear of OSes which do not
 provide O_DSYNC and fdatasync() and how to deal with them,
 so for now MDB demands them unless explicitly disabled.

 But the solution will not be a bunch of '#if <OS>'es.  Maybe
 some POSIX feature test macros will be enough, or maybe we
 can use configure and wrap libmdb/mdb in back-mdb/mdb-wrap.c
 which makes use of the configure macros.

 On Wed, 14 Mar 2012 21:34:37 GMT, [email protected] wrote:
> Why ANDROID and __APPLE__ special?

 I can't speak for Howard, but:

 Got there during development.  MDB is still evolving.

 The solution will not be a bunch of '#ifdef <OS>'es.  Maybe
 some POSIX feature test macros will be enough, or maybe we
 can use configure and wrap libmdb/mdb in back-mdb/mdb-wrap.c
 which makes use of the configure macros.

-- 
 Hallvard


Reply via email to