From: José Fonseca Date: Tue, 1 Jul 2008 13:04:58 +0000 (+0900) Subject: gallium: Use the inline keyword on C++. X-Git-Tag: 062012170305~17580^2~390^2~1067 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3da2a9524b47838da33d8f7fd63c5d90a659cfa;p=profile%2Fivi%2Fmesa.git gallium: Use the inline keyword on C++. --- diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index d2b8c41..2afb846 100644 --- a/src/gallium/include/pipe/p_compiler.h +++ b/src/gallium/include/pipe/p_compiler.h @@ -107,7 +107,9 @@ typedef unsigned char boolean; /* Function inlining */ -#if defined(__GNUC__) +#ifdef __cplusplus +# define INLINE inline +#elif defined(__GNUC__) # define INLINE __inline__ #elif defined(_MSC_VER) # define INLINE __inline