Skip to content
  • Sean McBride's avatar
    Use real snprintf (not _snprintf) with >= VS2015 · 992a4931
    Sean McBride authored
    Infuriatingly, Visual Studio has not supported C99’s snprintf until VS2015.
    
    Modify a couple of workaround hacks to only apply to pre-VS2015.
    
    This is more than just a cleanup.  snprintf guarantees null
    termination, _snprintf does not!  The return values are also different,
    though rarely used.
    992a4931