mirror of
https://github.com/yawut/SDL.git
synced 2026-09-10 01:56:15 -05:00
Make sure __inline__ isn't defined before #defining it, since some compilers
(like Sun Studio) have this as a predefined macro. Fixes Bugzilla #434. --HG-- branch : SDL-1.2
This commit is contained in:
@@ -123,7 +123,9 @@
|
||||
#define SDL_INLINE_OKAY
|
||||
#else
|
||||
#if !defined(__MRC__) && !defined(_SGI_SOURCE)
|
||||
#ifndef __inline__
|
||||
#define __inline__ inline
|
||||
#endif
|
||||
#define SDL_INLINE_OKAY
|
||||
#endif /* Not a funky compiler */
|
||||
#endif /* Visual C++ */
|
||||
|
||||
Reference in New Issue
Block a user