From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=32935 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ptkna-00064t-TO for qemu-devel@nongnu.org; Sun, 27 Feb 2011 12:52:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtknV-0004Mr-U6 for qemu-devel@nongnu.org; Sun, 27 Feb 2011 12:52:50 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:49803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtknV-0004Lw-Jd for qemu-devel@nongnu.org; Sun, 27 Feb 2011 12:52:45 -0500 From: Stefan Weil Date: Sun, 27 Feb 2011 18:52:20 +0100 Message-Id: <1298829142-5550-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org 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 --- 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