On 18 July 2011 11:58, Brian Paul <bri...@vmware.com> wrote:
> On 07/18/2011 12:37 PM, Paul Berry wrote:
>>
>> Several headers redundantly define the INLINE macro.  Adding this
>> guard prevents the compiler from complaining about macro redefinition.
>
> Other Mesa headers?  Or system headers?  Or?

Other Mesa headers.  I found definitions of INLINE in four header files:

src/egl/main/eglcompiler.h
src/gallium/include/pipe/p_compiler.h
src/mapi/mapi/u_compiler.h
src/mesa/main/compiler.h

Ideally we  should put all of our definitions of INLINE in one place,
but I was doing enough in other parts of the patch series that I
didn't want to shave that particular yak :)

I'll update the commit comment to clarify.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to