]> git.proxmox.com Git - qemu.git/blobdiff - cutils.c
LAN9118 improvements
[qemu.git] / cutils.c
index 7a2234646a0f019ebfe3fd15af7f07461639e772..2365e68d9d3896107d7d0ca87856d6fa0358e98d 100644 (file)
--- 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);