From 89222ee49de340774279c9c0bf884649e66ad6df Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 27 Mar 2008 15:41:52 -0600 Subject: [PATCH] gallium: fix Element() macro redefinition warning --- src/mesa/state_tracker/st_texture.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index cbc6f84..8e3235c 100644 --- a/src/mesa/state_tracker/st_texture.c +++ b/src/mesa/state_tracker/st_texture.c @@ -30,6 +30,8 @@ #include "st_texture.h" #include "enums.h" +#undef Elements /* fix re-defined macro warning */ + #include "pipe/p_state.h" #include "pipe/p_context.h" #include "pipe/p_defines.h" -- 2.7.4