summaryrefslogtreecommitdiffstats
path: root/Modules/_sre.c
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 /Modules/_sre.c
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 'Modules/_sre.c')
-rw-r--r--Modules/_sre.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 84e2f93..03a138e 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -66,10 +66,8 @@ static const char copyright[] =
#pragma warning(disable: 4710) /* who cares if functions are not inlined ;-) */
/* fastest possible local call under MSVC */
#define LOCAL(type) static __inline type __fastcall
-#elif defined(USE_INLINE)
-#define LOCAL(type) static inline type
#else
-#define LOCAL(type) static type
+#define LOCAL(type) static inline type
#endif
/* error codes */