Merge pull request #725 from cgohlke/patch-2

Fix msvc warning: 'inline' : macro redefinition
This commit is contained in:
Hugo 2014-06-25 10:47:47 +03:00
commit 9f0b688952

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