[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Recent patches for qemu block-cow.c etc breaks Win32 bu
From: |
Johannes Schindelin |
Subject: |
Re: [Qemu-devel] Recent patches for qemu block-cow.c etc breaks Win32 build becaus e of fsync() |
Date: |
Thu, 8 Jun 2006 23:07:49 +0200 (CEST) |
Hi,
On Thu, 8 Jun 2006, Armistead, Jason wrote:
> #ifndef _WIN32
> fsync(blah);
> #else
> _commit(blah);
> #endif
Why not define it in config-host.mak like this:
--- configure.old 2006-06-08 23:06:48.000000000 +0200
+++ configure 2006-06-08 23:07:10.000000000 +0200
@@ -102,6 +102,7 @@
;;
MINGW32*)
mingw32="yes"
+CFLAGS="-Dfsync=_commit"
;;
FreeBSD)
bsd="yes"
Ciao,
Dscho