From: Brian Date: Thu, 27 Mar 2008 21:41:52 +0000 (-0600) Subject: gallium: fix Element() macro redefinition warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89222ee49de340774279c9c0bf884649e66ad6df;p=mesa.git gallium: fix Element() macro redefinition warning --- diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index cbc6f849982..8e3235cc99d 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"