You can disable #ifdef highlighting entirely by going to:
Window -> Preferences -> C/C++ -> Editor
and unchecking the box “Highlight inactive code”.
Also, you can change the #ifdef highlighting color by going to that same screen and changing the “Inactive code highlight” color (under “Appearance color options” heading) to a color that works better for you.