MSVC needs snprintf to be _snprintf