aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-08 16:26:59 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-08 16:26:59 +0000
commit49dc768d4c579298d56777348422ebdca565a3ef (patch)
treef3030aa5cbb079c697644c1fad5783e2d5e95c04 /qemu-common.h
parentRename one more _BSD to HOST_BSD (spotted by Hasso Tepper) (diff)
downloadqemu-kvm-49dc768d4c579298d56777348422ebdca565a3ef.tar.gz
qemu-kvm-49dc768d4c579298d56777348422ebdca565a3ef.tar.bz2
qemu-kvm-49dc768d4c579298d56777348422ebdca565a3ef.zip
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
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/qemu-common.h b/qemu-common.h
index f8ac7e6fd..6848b337f 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -2,12 +2,6 @@
#ifndef QEMU_COMMON_H
#define QEMU_COMMON_H
-#ifdef _WIN32
-#define WIN32_LEAN_AND_MEAN
-#define WINVER 0x0501 /* needed for ipv6 bits */
-#include <windows.h>
-#endif
-
#define QEMU_NORETURN __attribute__ ((__noreturn__))
/* Hack around the mess dyngen-exec.h causes: We need QEMU_NORETURN in files that