title: Visual Studio incorrectly marking inactive code blocks when using `#ifdef`
body: <p>My project has a bunch of <code>#ifdefs</code>. The macros used by these <code>#ifdef</code>s are usually passed through the command line using the <code>'/D'</code> option to get different build configurations. Visual studio incorrectly assumes that these macros are not defined and greys out the code blocks present inside these <code>#ifdef</code>s. The problem is not syntax highlighting - I can turn the grayed out code to colored code from Options; the main issue is that I am not able to go to the function definition of any functions present inside that <code>#ifdef</code>. I tried reading about Visual Studio <a href="http://msdn.microsoft.com/en-us/library/dd997977.aspx" rel="nofollow">hint files</a> but that didn't work for me.</p>
  
  <p>Can anyone help me with this issue? I am using Visual Studio 2008.</p>