diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-04-21 06:52:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-21 06:52:19 (GMT) |
commit | 791dc831198f3ecc1531f8e6f05debf4ce234d00 (patch) | |
tree | debedec99881ffb16db1298e05360d398bb5378c /Modules | |
parent | f60c9e54f501065f3be2a4cfb4c387dfa2f243a9 (diff) | |
download | cpython-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')
-rw-r--r-- | Modules/_sre.c | 4 |
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 */ |