mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
SDL 2.0.0 defined __inline__ and some code relies on it now.
This commit is contained in:
@@ -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 */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user