This should be a #else, with the #endif after the second return.  Otherwise, you'll have unreachable code (and a warning about that) on MinGW.