qemu-devel
[Top][All Lists]
Advanced

[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: Fri, 9 Jun 2006 00:00:56 +0200 (CEST)

Hi,

On Thu, 8 Jun 2006, Paul Brook wrote:

> I mean you should add a #define in a header file somewhere (eg. vl.h where 
> there are already similar things), not do it via a commandline option.

You mean something like this?

--- vl.h.old    2006-06-08 23:58:55.000000000 +0200
+++ vl.h        2006-06-08 23:59:42.000000000 +0200
@@ -47,6 +47,7 @@
 #endif
 
 #ifdef _WIN32
+#define fsync _commit
 #define lseek _lseeki64
 #define ENOTSUP 4096
 /* XXX: find 64 bit version */

However, I do not know if this breaks cygwin (if cygwin worked at all, 
never checked).

Ciao,
Dscho





reply via email to

[Prev in Thread] Current Thread [Next in Thread]