SDL 2.0.0 defined __inline__ and some code relies on it now.
--HG-- extra : rebase_source : b16922234216c3e66aac75ff77bcb8b041eeb729
This commit is contained in:
parent
dec06dbca4
commit
274b054ac3
1 changed files with 6 additions and 0 deletions
|
@ -107,8 +107,14 @@
|
||||||
defined(__WATCOMC__) || defined(__LCC__) || \
|
defined(__WATCOMC__) || defined(__LCC__) || \
|
||||||
defined(__DECC)
|
defined(__DECC)
|
||||||
#define SDL_INLINE __inline
|
#define SDL_INLINE __inline
|
||||||
|
#ifndef __inline__
|
||||||
|
#define __inline__ __inline
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define SDL_INLINE inline
|
#define SDL_INLINE inline
|
||||||
|
#ifndef __inline__
|
||||||
|
#define __inline__ inline
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif /* SDL_INLINE not defined */
|
#endif /* SDL_INLINE not defined */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue