1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Work-arounds for compiling with VC6.

This commit is contained in:
Julian Storer 2010-03-11 11:37:40 +00:00
parent d84e47353c
commit 4ed63991e2
15 changed files with 206 additions and 222 deletions

View file

@ -352,7 +352,11 @@ namespace IntToCharConverters
else
{
#if JUCE_WIN32
#if _MSC_VER <= 1200
len = (int) _snwprintf (buffer, numChars, L"%.9g", n) + 1;
#else
len = (int) _snwprintf_s (buffer, numChars, _TRUNCATE, L"%.9g", n) + 1;
#endif
#else
len = (int) swprintf (buffer, numChars, L"%.9g", n) + 1;
#endif