From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyoyH-0000nI-5G for qemu-devel@nongnu.org; Wed, 21 May 2008 10:07:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyoyF-0000l3-IB for qemu-devel@nongnu.org; Wed, 21 May 2008 10:07:12 -0400 Received: from [199.232.76.173] (port=59265 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyoyF-0000ku-Cc for qemu-devel@nongnu.org; Wed, 21 May 2008 10:07:11 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:54499) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JyoyF-0000bn-7Q for qemu-devel@nongnu.org; Wed, 21 May 2008 10:07:11 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Re: [4476] musicpal: Improve button handling (Jan Kiszka). Date: Wed, 21 May 2008 15:07:05 +0100 References: <18484.8433.525986.172414@mariner.uk.xensource.com> In-Reply-To: <18484.8433.525986.172414@mariner.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ansi_x3.4-1968" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805211507.05887.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 Cc: Ian Jackson > > Target arm-softmmu still does not compile on Windows. The fix is trivial, > > please apply it (or my previous patch, if you wish). > > > > +#ifdef _WIN32 > > + Sleep(1000); > > +#else > > sleep(1); > > +#endif > > Surely this should be in osdep.h as a conditional definition of sleep. The real bug is that we're using sleep() in the first place :-) Paul