Win32 build fix.
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 8 Jun 2006 21:51:27 +0000 (21:51 +0000)
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 8 Jun 2006 21:51:27 +0000 (21:51 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1950 c046a42c-6fe2-441c-8c8c-71466251a162

vl.h

diff --git a/vl.h b/vl.h
index 2bd49e8ddc9820eb3fb56e704f82d59bfaedc730..ecfc0c417dd450a885aee21c45b8117833707372 100644 (file)
--- a/vl.h
+++ b/vl.h
@@ -47,6 +47,7 @@
 #endif
 
 #ifdef _WIN32
+#define fsync _commit
 #define lseek _lseeki64
 #define ENOTSUP 4096
 /* XXX: find 64 bit version */