Mercurial > hg > audiodb
view accumulators.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 | 342822c2d49a |
children |
line wrap: on
line source
#ifndef ACCUMULATORS_H #define ACCUMULATORS_H #include <string> #include <set> #include <queue> #include <map> #include <functional> #include "accumulator.h" #include "dbaccumulator.h" #include "pertrackaccumulator.h" #include "nearestaccumulator.h" #endif