mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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:
parent
f60c9e54f5
commit
791dc83119
5 changed files with 2 additions and 74 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue