The #ifdef wasn't really necessary and was wrong.