ggformat

A string formatting library for C++
Log | Files | Refs

commit 4c99c0d9c83c670856bbac979d8cbe91576be040
parent c72dcebb7342337683c3ec567d1ca878efbed9b5
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu, 24 Aug 2017 18:36:37 +0100

PLATFORM_WINDOWS is never defined

Diffstat:
ggformat.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ggformat.cc b/ggformat.cc @@ -61,7 +61,7 @@ static void format_helper( FormatBuffer * fb, const ShortString & fmt, const T & len = 0; } -#if PLATFORM_WINDOWS +#if COMPILER_MSVC int printed = _snprintf( NULL, 0, fmt.buf, x ); _snprintf( dst, len, fmt.buf, x ); #else