[Piglit] [PATCH 5/7] tests/util: MSVC 2013 already defines va_copy macro.

jfonseca at vmware.com jfonseca at vmware.com
Fri Nov 7 06:21:28 PST 2014


From: José Fonseca <jfonseca at vmware.com>

---
 tests/util/piglit-util.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/tests/util/piglit-util.h b/tests/util/piglit-util.h
index 24ee405..0238b7f 100755
--- a/tests/util/piglit-util.h
+++ b/tests/util/piglit-util.h
@@ -60,14 +60,6 @@ extern "C" {
 
 #define snprintf sprintf_s
 
-#ifndef va_copy
-#ifdef __va_copy
-#define va_copy(dest, src) __va_copy((dest), (src))
-#else
-#define va_copy(dest, src) (dest) = (src)
-#endif
-#endif
-
 #endif /* defined(_MSC_VER) */
 
 #if (__GNUC__ >= 3)
-- 
1.9.1



More information about the Piglit mailing list