aboutsummaryrefslogtreecommitdiff
path: root/slirp.h
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
commitf4b5d1633c195e080a89c26903945044252eeae8 (patch)
treec52b5eb595616e18f43017bc51c108c5d3785d84 /slirp.h
parent5b0221f02c31cdba31f9f41cdf4e3a4f601b085e (diff)
downloadslirp-f4b5d1633c195e080a89c26903945044252eeae8.zip
slirp-f4b5d1633c195e080a89c26903945044252eeae8.tar.gz
slirp-f4b5d1633c195e080a89c26903945044252eeae8.tar.bz2
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.h')
-rw-r--r--slirp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/slirp.h b/slirp.h
index 0415a62..ded283a 100644
--- a/slirp.h
+++ b/slirp.h
@@ -31,7 +31,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>