mirror of
https://github.com/qemu/qemu.git
synced 2024-12-04 01:03:38 +08: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
@ -32,7 +32,9 @@
|
||||
#define AUDIO_CAP "dsound"
|
||||
#include "audio_int.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <mmsystem.h>
|
||||
#include <objbase.h>
|
||||
#include <dsound.h>
|
||||
|
||||
|
1
exec.c
1
exec.c
@ -19,6 +19,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
|
1
kqemu.c
1
kqemu.c
@ -19,6 +19,7 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <winioctl.h>
|
||||
#else
|
||||
|
1
osdep.c
1
osdep.c
@ -37,6 +37,7 @@
|
||||
#include "sysemu.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#elif defined(_BSD)
|
||||
#include <stdlib.h>
|
||||
|
@ -28,6 +28,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#define fsync _commit
|
||||
#define lseek _lseeki64
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define QEMU_SOCKET_H
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
|
@ -29,6 +29,7 @@ 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 <sys/timeb.h>
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "net.h"
|
||||
#include "sysemu.h"
|
||||
#include <stdio.h>
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
/* NOTE: PCIBus is redefined in winddk.h */
|
||||
|
Loading…
Reference in New Issue
Block a user