summaryrefslogtreecommitdiffstats
path: root/slirp
diff options
context:
space:
mode:
authoraliguori2009-03-08 17:26:59 +0100
committeraliguori2009-03-08 17:26:59 +0100
commit49dc768d4c579298d56777348422ebdca565a3ef (patch)
treef3030aa5cbb079c697644c1fad5783e2d5e95c04 /slirp
parentRename one more _BSD to HOST_BSD (spotted by Hasso Tepper) (diff)
downloadqemu-49dc768d4c579298d56777348422ebdca565a3ef.tar.gz
qemu-49dc768d4c579298d56777348422ebdca565a3ef.tar.xz
qemu-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 'slirp')
-rw-r--r--slirp/slirp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index 6f8a7f6022..8309fe051c 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -29,7 +29,6 @@ typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
typedef char *caddr_t;
-#define WIN32_LEAN_AND_MEAN
# include <windows.h>
# include <winsock2.h>
# include <ws2tcpip.h>