[Bf-committers] snprintf() -- function not present on Win32.
Sun, 09 Nov 2003 19:01:59 +0100
Alexander Ewering wrote:
>Oops, sorry, I forgot that I consider 1999 "modern", and
>most of my systems are from 1999, so are the manpages.
>So yes, probably using snprintf is safe, although you see
>that M$VC gives problems.
For VC, a simple redifinition of snprintf using _snprintf will do it.
For the over plateforms not having snprintf, I see two solutions:
writing a new snprintf or using sprintf to define snprintf (ok, it loses
safety for these plateforms)