From 5f6b9e8fd5b9516170e582d9b6c27c98519a8031 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 20 Sep 2009 06:56:26 +0000 Subject: Probe for fdatasync() Signed-off-by: Blue Swirl --- cutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cutils.c') diff --git a/cutils.c b/cutils.c index 7a2234646a..2365e68d9d 100644 --- a/cutils.c +++ b/cutils.c @@ -124,7 +124,7 @@ int qemu_fls(int i) */ int qemu_fdatasync(int fd) { -#ifdef _POSIX_SYNCHRONIZED_IO +#ifdef CONFIG_FDATASYNC return fdatasync(fd); #else return fsync(fd); -- cgit v1.2.1