From e61fe2123728dd4cd2eba3ed628905b337ddff19 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 24 Apr 2014 19:51:45 +0000 Subject: (svn r26506) -Codechange: replace most of vsnprintf with vseprintf --- src/script/squirrel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/script') diff --git a/src/script/squirrel.cpp b/src/script/squirrel.cpp index 9ead866e7..99e5ae1c0 100644 --- a/src/script/squirrel.cpp +++ b/src/script/squirrel.cpp @@ -21,9 +21,10 @@ /* Due to the different characters for Squirrel, the scsnprintf might be a simple * snprint which triggers the safeguard. But it isn't always a simple snprintf. - * Likewise for scstrcat. */ + * Likewise for scvsnprintf and scstrcat. */ #include "../safeguards.h" #undef snprintf +#undef vsnprintf #undef strcat void Squirrel::CompileError(HSQUIRRELVM vm, const SQChar *desc, const SQChar *source, SQInteger line, SQInteger column) -- cgit v1.2.3-70-g09d2