Fix compilation error vsnprintf not a member of std. 09/10409/1
Jonathan Blanchard [Wed, 12 Dec 2012 03:11:59 +0000 (22:11 -0500)]
Change-Id: I15e6b38ddfe928628ebbe2bcf03d4918d58468ea

scilab/modules/xml/src/cpp/XMLValidation.cpp

index 8c14f9d..431a71d 100644 (file)
@@ -42,7 +42,7 @@ void XMLValidation::errorFunction(void *ctx, const char *msg, ...)
 #ifdef _MSC_VER
     _vsnprintf(str, BUFFER_SIZE, msg, args);
 #else
-    std::vsnprintf(str, BUFFER_SIZE, msg, args);
+    vsnprintf(str, BUFFER_SIZE, msg, args);
 #endif
     va_end(args);
     errorBuffer->append(str);