Like I mentioned #Ifdef does not work on header includes … use #if
Another post on the forum touches on the subject