aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 5411bb2fe3..44186b7325 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -336,11 +336,7 @@ string vstrprintf(const char *format, va_list ap)
{
va_list arg_ptr;
va_copy(arg_ptr, ap);
-#ifdef WIN32
- ret = _vsnprintf(p, limit, format, arg_ptr);
-#else
ret = vsnprintf(p, limit, format, arg_ptr);
-#endif
va_end(arg_ptr);
if (ret >= 0 && ret < limit)
break;