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:
parent
d84e47353c
commit
4ed63991e2
15 changed files with 206 additions and 222 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue