diff options
author | Ben Skeggs <[email protected]> | 2008-07-05 00:53:13 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-07-05 00:53:13 +1000 |
commit | 77f8167d75d0016c76812fc147c06072e5729965 (patch) | |
tree | f610929b3fa6d62013593df797b9e05d7c1452b4 /src/gallium/include/pipe/p_compiler.h | |
parent | 6f56b527d866506a323feb19f9d8529d40034af2 (diff) | |
parent | 194cfc7a4ed86653db34be0e331ad7c23b5334eb (diff) |
Merge remote branch 'upstream/gallium-0.1' into gallium-0.1
Diffstat (limited to 'src/gallium/include/pipe/p_compiler.h')
-rw-r--r-- | src/gallium/include/pipe/p_compiler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index d2b8c41be3d..2afb8464c73 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 |