mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-30 18:53:28 +03:00
Fix msvc warning: 'inline' : macro redefinition
This commit is contained in:
parent
68c502db8b
commit
b593ff06ad
|
@ -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