mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-20 06:08:30 +02:00
gallium: Use the inline keyword on C++.
This commit is contained in:
parent
846f87d826
commit
b3da2a9524
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue