From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FoRt4-0002cA-Ca for qemu-devel@nongnu.org; Thu, 08 Jun 2006 17:17:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FoRt2-0002am-Ns for qemu-devel@nongnu.org; Thu, 08 Jun 2006 17:17:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FoRt2-0002aW-Id for qemu-devel@nongnu.org; Thu, 08 Jun 2006 17:17:52 -0400 Received: from [65.74.133.6] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FoS0w-0006UE-CJ for qemu-devel@nongnu.org; Thu, 08 Jun 2006 17:26:02 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Recent patches for qemu block-cow.c etc breaks Win32 build becaus e of fsync() Date: Thu, 8 Jun 2006 22:17:48 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606082217.48797.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > 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" No. This is what header files are for. Paul