Added support for Visual C++ inline keyword
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4086
This commit is contained in:
parent
3b694d2065
commit
32bf9a536b
1 changed files with 6 additions and 1 deletions
|
@ -69,10 +69,15 @@
|
||||||
#define SDL_INLINE_OKAY
|
#define SDL_INLINE_OKAY
|
||||||
#else
|
#else
|
||||||
/* Add any special compiler-specific cases here */
|
/* Add any special compiler-specific cases here */
|
||||||
#if !defined(_MSC_VER) && !defined(__MRC__) && !defined(_SGI_SOURCE)
|
#if defined(_MSC_VER)
|
||||||
|
#define __inline__ __inline
|
||||||
|
#define SDL_INLINE_OKAY
|
||||||
|
#else
|
||||||
|
#if !defined(__MRC__) && !defined(_SGI_SOURCE)
|
||||||
#define __inline__ inline
|
#define __inline__ inline
|
||||||
#define SDL_INLINE_OKAY
|
#define SDL_INLINE_OKAY
|
||||||
#endif /* Not a funky compiler */
|
#endif /* Not a funky compiler */
|
||||||
|
#endif /* Visual C++ */
|
||||||
#endif /* GNU C */
|
#endif /* GNU C */
|
||||||
#endif /* SDL_INLINE_OKAY */
|
#endif /* SDL_INLINE_OKAY */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue