Mercurial > hg > audiodb
view pointpair.h @ 563:c6036e0a511a
Work around the non-universality of fdatasync()
POSIX, which specifies fdatasync(), also apparently specifies that
POSIX_SYNCHRONIZED_IO is defined to a non-zero value if fdatasync() is
available -- or at least that's what the man page suggests on Linux.
This is probably good enough for us, anyway.
author | mas01cr |
---|---|
date | Thu, 18 Jun 2009 11:01:31 +0000 |
parents | 2b95e396f4d7 |
children | aa715b3e18db |
line wrap: on
line source
// should probably be rewritten class PointPair { public: uint32_t trackID; uint32_t qpos; uint32_t spos; PointPair(uint32_t a, uint32_t b, uint32_t c); }; bool operator<(const PointPair& a, const PointPair& b);