Use WIN32_LEAN_AND_MEAN, by Stefan Weil.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3832 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-12-17 04:42:29 +00:00
parent f60d39bc4d
commit 4fddf62a74
10 changed files with 12 additions and 3 deletions

4
vl.c
View file

@ -109,7 +109,7 @@ int inet_aton(const char *cp, struct in_addr *ia);
#ifdef _WIN32
#include <malloc.h>
#include <sys/timeb.h>
#include <windows.h>
#include <mmsystem.h>
#define getopt_long_only getopt_long
#define memalign(align, size) malloc(size)
#endif
@ -8966,7 +8966,7 @@ int main(int argc, char **argv)
s->down_script[0])
launch_script(s->down_script, ifname, s->fd);
}
}
}
}
#endif
return 0;