gallium: Don't redefine INLINE.

INLINE is commonly used in third-party headers.
This commit is contained in:
José Fonseca 2008-12-30 17:14:48 +00:00
parent 975e58499a
commit b3b7c757a9

View file

@ -112,20 +112,22 @@ typedef unsigned char boolean;
/* Function inlining */
#ifdef __cplusplus
# define INLINE inline
#elif defined(__GNUC__)
# define INLINE __inline__
#elif defined(_MSC_VER)
# define INLINE __inline
#elif defined(__ICL)
# define INLINE __inline
#elif defined(__INTEL_COMPILER)
# define INLINE inline
#elif defined(__WATCOMC__) && (__WATCOMC__ >= 1100)
# define INLINE __inline
#else
# define INLINE
#ifndef INLINE
# ifdef __cplusplus
# define INLINE inline
# elif defined(__GNUC__)
# define INLINE __inline__
# elif defined(_MSC_VER)
# define INLINE __inline
# elif defined(__ICL)
# define INLINE __inline
# elif defined(__INTEL_COMPILER)
# define INLINE inline
# elif defined(__WATCOMC__) && (__WATCOMC__ >= 1100)
# define INLINE __inline
# else
# define INLINE
# endif
#endif