diff options
author | Stefan Krah <skrah@bytereef.org> | 2020-08-15 14:06:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-15 14:06:21 (GMT) |
commit | 40e700ad042089120456cc2ee79b8ca69479416b (patch) | |
tree | cb8f3bc80e018015a7cb8f8201ea0729b11f4897 /Modules/_decimal | |
parent | fa5d7251987c70a9c5d58b59a0b36ac9287eaafa (diff) | |
download | cpython-40e700ad042089120456cc2ee79b8ca69479416b.zip cpython-40e700ad042089120456cc2ee79b8ca69479416b.tar.gz cpython-40e700ad042089120456cc2ee79b8ca69479416b.tar.bz2 |
bpo-40878: xlc cannot handle C99 extern inline. (GH-21887)
This applies to the default "extc99" mode. Python does not compile with "stdc99".
Diffstat (limited to 'Modules/_decimal')
-rw-r--r-- | Modules/_decimal/libmpdec/mpdecimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c index b3ec13a..f0e4d7f 100644 --- a/Modules/_decimal/libmpdec/mpdecimal.c +++ b/Modules/_decimal/libmpdec/mpdecimal.c @@ -64,7 +64,7 @@ #if defined(_MSC_VER) #define ALWAYS_INLINE __forceinline -#elif defined(LEGACY_COMPILER) +#elif defined(__IBMC__) || defined(LEGACY_COMPILER) #define ALWAYS_INLINE #undef inline #define inline |