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:
Ryan C. Gordon
2007-06-15 07:19:05 +00:00
parent 762d7c5698
commit 5ef9fe1331

View File

@@ -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++ */