title: Macro definition clash between directx headers and winerror.h
body: <p>I'm on windows 7 using Visual Studio 2012.</p>
  
  <p>When I compile I get a lot of macro redefinition warnings caused by winerror.h versus dxgi.h, dxgitype.h, d3d11.h, d3d10.h; for example DXGI_STATUS_OCCLUDED, DXGI_STATUS_CLIPPED, DXGI_STATUS_NO_REDIRECTION etc.</p>
  
  <p>I suppose this is because the windows sdk 8 is installed.
  How can I avoid this? Is there a way I can exclude these new libraries from my project?</p>