From b5027d74e080e168538c52fc24bbf957eaf64dd7 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Tue, 22 Feb 2011 07:24:19 +0000 Subject: [PATCH] Declare prototiyes of snprintf() and vsnprintf() for Ms Visual C --- goldlib/gall/gstrall.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/goldlib/gall/gstrall.h b/goldlib/gall/gstrall.h index 75b10a4..31ccff3 100644 --- a/goldlib/gall/gstrall.h +++ b/goldlib/gall/gstrall.h @@ -57,6 +57,13 @@ char* strupr(char* s); char* strlwr(char* s); #endif +// ------------------------------------------------------------------ + +#if defined(_MSC_VER) +int snprintf( char *buffer, size_t sizeOfBuffer, const char *format, ... ); +int vsnprintf( char *buffer, size_t sizeOfBuffer, const char *format, va_list argptr ); +#endif + // ------------------------------------------------------------------