summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-04-21 06:52:19 (GMT)
committerGitHub <noreply@github.com>2017-04-21 06:52:19 (GMT)
commit791dc831198f3ecc1531f8e6f05debf4ce234d00 (patch)
treedebedec99881ffb16db1298e05360d398bb5378c /Include/pyport.h
parentf60c9e54f501065f3be2a4cfb4c387dfa2f243a9 (diff)
downloadcpython-791dc831198f3ecc1531f8e6f05debf4ce234d00.zip
cpython-791dc831198f3ecc1531f8e6f05debf4ce234d00.tar.gz
cpython-791dc831198f3ecc1531f8e6f05debf4ce234d00.tar.bz2
remove configure test for inline keyword (#1231)
We require C99, so a configure test for this standard feature is not needed.
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index b535d78..e3c4f89 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -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,