#include <cstdio>
#include <cstdarg>
-#ifndef HAVE_VSNPRINTF
+#ifndef HAVE_DECL_VSNPRINTF
#include "support/snprintf.h"
#endif
va_list ap;
while (true) {
va_start(ap, fmtstr);
- int const r = ::vsnprintf(str, size, fmtstr, ap);
+ int const r = vsnprintf(str, size, fmtstr, ap);
va_end(ap);
if (r == -1) { // size is too small
delete [] str;