vsnprintf is not present on Windows. Microsoft provides
the _vsnprintf form instead. Add a macro to allow this
file to compile.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17993
dc483132-0cff-0310-8789-
dd5450dbe970
#include "k5-thread.h"
#include "k5-platform.h"
+#ifdef _WIN32
+#ifndef vsnprintf
+#define vsnprintf _vsnprintf
+#endif
+#endif
+
/* It would be nice to just use error_message() always. Pity that
it's defined in a library that depends on this one, and we're not
allowed to make circular dependencies. */