title: Exclude a system header file in VS2010
body: <p>I'm wondering how to exclude a specified system header file in VS2010, which makes an ambiguous problem.</p>
  
  <p>In my project, I use an opensource project. In which a cpp file calls</p>
  
  <pre><code>std::something::max()
  </code></pre>
  
  <p>where the max is a method in something.</p>
  
  <p>However, max is also defined in a system header file "minwindef.h", which in my case lies at \Windows Kits\8.0\shared\minwidef.h</p>
  
  <pre><code>#ifndef max
  #define max(a,b)            (((a) &gt; (b)) ? (a) : (b))
  #endif
  </code></pre>
  
  <p>I think this is not necessary for my project.</p>
  
  <p>So how do I manually prohibit this file to be included (perhaps recursively)? </p>