[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] mingw32: Enable C99/POSIX format strings

From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] mingw32: Enable C99/POSIX format strings
Date: Fri, 19 Feb 2010 15:47:25 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 02/12/2010 04:02 AM, Stefan Weil wrote:
Starting with mingw32-runtime 3.15, C99/POSIX
format strings (%zu, %lld, ...) are supported
by defining __USE_MINGW_ANSI_STDIO=1.

As QEMU uses such format strings, unconditionally
define this macro. It won't hurt on older revisions
of mingw32-runtime.

Tested with manually installed mingw32-runtime 3.15
on debian (cross compiled + wine).

Signed-off-by: Stefan Weil<address@hidden>

Applied.  Thanks.


Anthony Liguori
  configure |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 75c28f4..1567ccf 100755
--- a/configure
+++ b/configure
@@ -440,6 +440,8 @@ fi
  if test "$mingw32" = "yes" ; then
+  # enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later)
    LIBS="-lwinmm -lws2_32 -liphlpapi $LIBS"

reply via email to

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