[Bf-committers] snprintf() -- function not present on Win32.

Simon Clitherow bf-committers@blender.org
Sun, 9 Nov 2003 12:04:43 -0000


Ok, false alarm!  Found the function in stdio.h. :)

----- Original Message -----
From: "Simon Clitherow" <bf-committers@blender.org>
To: "bf-committers@blender.org" <bf-committers@blender.org>
Sent: Sunday, November 09, 2003 11:03 AM
Subject: [Bf-committers] snprintf() -- function not present on Win32.


> Hi,
>
> Just tried to compile Blender with MSVC 6 project files and I'm hitting an
> error in editmesh.c, line 7671.
>
> VC6 doesn't have a snprintf() function!  Is this a standard function in
> unix?
>
> An #ifdef WIN32 could be added to replace snprintf() with sprintf, but
would
> this have any noticable consequences? (As I'm not sure how this function
> differs...)
>
> Cheers,
>
> Simon
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
>