Fix msvc warning: 'inline' : macro redefinition

This commit is contained in:
cgohlke 2014-06-24 22:23:17 -07:00
parent 68c502db8b
commit b593ff06ad

View File

@ -17,12 +17,12 @@
#error Sorry, this library requires ANSI header files.
#endif
#if !defined(PIL_USE_INLINE)
#define inline
#else
#if defined(_MSC_VER) && !defined(__GNUC__)
#define inline __inline
#endif
#if !defined(PIL_USE_INLINE)
#define inline
#endif
#ifdef _WIN32