summaryrefslogtreecommitdiffstats
path: root/src/perf/glsl-compile-time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/perf/glsl-compile-time.c')
-rw-r--r--src/perf/glsl-compile-time.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/perf/glsl-compile-time.c b/src/perf/glsl-compile-time.c
index 917073c..a8e774f 100644
--- a/src/perf/glsl-compile-time.c
+++ b/src/perf/glsl-compile-time.c
@@ -20,6 +20,10 @@
#include "glut_wrap.h"
#include "shaderutil.h"
+#if defined(_MSC_VER)
+#define snprintf _snprintf
+#endif
+
#define MAX_PROGRAMS 10000