mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
Fix windows build and clean up use of <windows.h>
We want to globally define WIN_LEAN_AND_MEAN and WINVER to particular values so let's do it in OS_CFLAGS. Then, we can pepper in windows.h includes where using #includes that require it. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6783 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
2734c7037e
commit
49dc768d4c
14 changed files with 13 additions and 13 deletions
1
configure
vendored
1
configure
vendored
|
@ -590,6 +590,7 @@ if test "$mingw32" = "yes" ; then
|
|||
oss="no"
|
||||
linux_user="no"
|
||||
bsd_user="no"
|
||||
OS_CFLAGS="$OS_CFLAGS -DWIN32_LEAN_AND_MEAN -DWINVER=0x501"
|
||||
fi
|
||||
|
||||
if test ! -x "$(which cgcc 2>/dev/null)"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue