Changed #ifdef to #if / #ifndef to #if !()