From: Ian Romanick <[email protected]>

Does piglit have a place where wrapper functions like this should live?

Signed-off-by: Ian Romanick <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85528
Cc: [email protected]
---
 tests/shaders/shader_runner.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 1f93216..465d042 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -31,6 +31,10 @@
 #include <libgen.h>
 #endif
 
+#if defined(_MSC_VER)
+#define strtoll _strtoi64
+#endif
+
 #include "piglit-util-gl.h"
 #include "piglit-vbo.h"
 
-- 
1.8.1.4

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to