mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 16:24:11 +03:00
Merge pull request #725 from cgohlke/patch-2
Fix msvc warning: 'inline' : macro redefinition
This commit is contained in:
commit
9f0b688952
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user