mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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:
parent
f60d39bc4d
commit
4fddf62a74
10 changed files with 12 additions and 3 deletions
4
vl.c
4
vl.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue