mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 07:16:52 -05:00
SDL 2.0.0 defined __inline__ and some code relies on it now.
This commit is contained in:
parent
726cafcde9
commit
133a4d89f8
|
|
@ -107,8 +107,14 @@
|
|||
defined(__WATCOMC__) || defined(__LCC__) || \
|
||||
defined(__DECC)
|
||||
#define SDL_INLINE __inline
|
||||
#ifndef __inline__
|
||||
#define __inline__ __inline
|
||||
#endif
|
||||
#else
|
||||
#define SDL_INLINE inline
|
||||
#ifndef __inline__
|
||||
#define __inline__ inline
|
||||
#endif
|
||||
#endif
|
||||
#endif /* SDL_INLINE not defined */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user