progs/perf: Fix MSVC build.

This commit is contained in:
Vinson Lee 2009-10-05 18:42:58 -07:00 committed by Brian Paul
parent ec58dac86d
commit 017fae04ec

View file

@ -30,6 +30,10 @@
#include <stdlib.h>
#include <stdarg.h>
#if defined(_MSC_VER)
#define snprintf _snprintf
#endif
/* Need to add a fflush windows console with mingw, otherwise nothing
* shows up until program exit. May want to add logging here.