mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 13:14:27 +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.
|
#error Sorry, this library requires ANSI header files.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(PIL_USE_INLINE)
|
||||||
|
#define inline
|
||||||
|
#else
|
||||||
#if defined(_MSC_VER) && !defined(__GNUC__)
|
#if defined(_MSC_VER) && !defined(__GNUC__)
|
||||||
#define inline __inline
|
#define inline __inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(PIL_USE_INLINE)
|
|
||||||
#define inline
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
Loading…
Reference in New Issue
Block a user