[Mesa-dev] [PATCH 1/4] mesa: Add an ifndef guard around the definition of the INLINE macro

Kenneth Graunke kenneth at whitecape.org
Mon Jul 18 18:15:29 PDT 2011


On 07/18/2011 11:37 AM, Paul Berry wrote:
> Several headers redundantly define the INLINE macro.  Adding this
> guard prevents the compiler from complaining about macro redefinition.
> ---
>  src/mesa/main/compiler.h |   42 ++++++++++++++++++++++--------------------
>  1 files changed, 22 insertions(+), 20 deletions(-)

Seems strange, I haven't run into this.  But it shouldn't hurt anything,
and is probably a good idea.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list