Fixes MinGW warning. piglit-util.c:25:0: warning: "WIN32_LEAN_AND_MEAN" redefined [enabled by default] #define WIN32_LEAN_AND_MEAN ^ <command-line>:0:0: note: this is the location of the previous definition
Signed-off-by: Vinson Lee <v...@freedesktop.org> --- tests/util/piglit-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/util/piglit-util.c b/tests/util/piglit-util.c index fe49fed..0f3964c 100644 --- a/tests/util/piglit-util.c +++ b/tests/util/piglit-util.c @@ -22,7 +22,9 @@ */ #if defined(_WIN32) +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> #endif -- 1.8.5.2 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit