projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec58dac
)
progs/perf: Fix MSVC build.
author
Vinson Lee
<vlee@vmware.com>
Tue, 6 Oct 2009 01:42:58 +0000
(18:42 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 6 Oct 2009 15:13:14 +0000
(09:13 -0600)
progs/perf/common.c
patch
|
blob
|
history
diff --git
a/progs/perf/common.c
b/progs/perf/common.c
index
722f4b7
..
b6489ef
100644
(file)
--- a/
progs/perf/common.c
+++ b/
progs/perf/common.c
@@
-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.