All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions
@ 2011-02-27 17:52 Stefan Weil
  2011-02-27 17:52 ` [Qemu-devel] [PATCH 2/3] w32: Add macro timersub to sys/time.h Stefan Weil
  2011-02-27 17:52 ` [Qemu-devel] [PATCH 3/3] osdep: Remove conditional compilation (fixes w32 compilation) Stefan Weil
  0 siblings, 2 replies; 9+ messages in thread
From: Stefan Weil @ 2011-02-27 17:52 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

This is a first step which will reduce the number
of conditional compilations caused by MinGW.

Include files will be added to hosts/w32/include.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 configure        |    1 +
 hosts/w32/README |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 hosts/w32/README

diff --git a/configure b/configure
index 3036faf..47779b6 100755
--- a/configure
+++ b/configure
@@ -474,6 +474,7 @@ if test "$mingw32" = "yes" ; then
   QEMU_CFLAGS="-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 $QEMU_CFLAGS"
   # enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later)
   QEMU_CFLAGS="-D__USE_MINGW_ANSI_STDIO=1 $QEMU_CFLAGS"
+  QEMU_CFLAGS="-I\$(SRC_PATH)/hosts/w32/include $QEMU_CFLAGS"
   LIBS="-lwinmm -lws2_32 -liberty -liphlpapi $LIBS"
   prefix="c:/Program Files/Qemu"
   mandir="\${prefix}"
diff --git a/hosts/w32/README b/hosts/w32/README
new file mode 100644
index 0000000..d5aafe9
--- /dev/null
+++ b/hosts/w32/README
@@ -0,0 +1 @@
+This directory contains extensions of MinGW which are needed by QEMU.
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-03-06 22:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-27 17:52 [Qemu-devel] [PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions Stefan Weil
2011-02-27 17:52 ` [Qemu-devel] [PATCH 2/3] w32: Add macro timersub to sys/time.h Stefan Weil
2011-03-05  9:34   ` Blue Swirl
2011-03-05  9:42     ` Peter Maydell
2011-03-05  9:48       ` Blue Swirl
2011-03-05  9:55         ` Peter Maydell
2011-03-05 10:31           ` Blue Swirl
2011-03-06 22:15     ` Stefan Weil
2011-02-27 17:52 ` [Qemu-devel] [PATCH 3/3] osdep: Remove conditional compilation (fixes w32 compilation) Stefan Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.