remove configure test for inline keyword (#1231)

We require C99, so a configure test for this standard feature is not needed.
This commit is contained in:
Benjamin Peterson 2017-04-20 23:52:19 -07:00 committed by GitHub
parent f60c9e54f5
commit 791dc83119
5 changed files with 2 additions and 74 deletions

View file

@ -173,12 +173,9 @@ typedef int Py_ssize_clean_t;
/* fastest possible local call under MSVC */
#define Py_LOCAL(type) static type __fastcall
#define Py_LOCAL_INLINE(type) static __inline type __fastcall
#elif defined(USE_INLINE)
#define Py_LOCAL(type) static type
#define Py_LOCAL_INLINE(type) static inline type
#else
#define Py_LOCAL(type) static type
#define Py_LOCAL_INLINE(type) static type
#define Py_LOCAL_INLINE(type) static inline type
#endif
/* Py_MEMCPY is kept for backwards compatibility,