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

Chad Versace chad at chad-versace.us
Wed Jul 20 07:46:10 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(-)

Ifdef-guarding such a commonly defined macro is a good idea.

Reviewed-by: Chad Versace <chad at chad-versace.us>

-- 
Chad Versace
chad at chad-versace.us

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110720/96042958/attachment-0001.pgp>


More information about the mesa-dev mailing list