I think it would be cleaner to append "|| defined(__APPLE__)" or something like that