~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to kqemu.c

  • Committer: aliguori
  • Date: 2009-03-08 16:26:59 UTC
  • Revision ID: git-v1:49dc768d4c579298d56777348422ebdca565a3ef
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

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 */
20
20
#include "config.h"
21
21
#ifdef _WIN32
22
 
#define WIN32_LEAN_AND_MEAN
23
22
#include <windows.h>
24
23
#include <winioctl.h>
25
24
#else