b69688 Fix error with ifdef blocks

Authored and Committed by Campbell Barton 8 years ago
    Fix error with ifdef blocks
    
    noted by @linkmauve