From: Stefan Krah Date: Sat, 15 Aug 2020 14:06:21 +0000 (+0200) Subject: bpo-40878: xlc cannot handle C99 extern inline. (GH-21887) X-Git-Tag: v3.10.0a1~248 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40e700ad042089120456cc2ee79b8ca69479416b;p=thirdparty%2FPython%2Fcpython.git bpo-40878: xlc cannot handle C99 extern inline. (GH-21887) This applies to the default "extc99" mode. Python does not compile with "stdc99". --- diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c index b3ec13a509bb..f0e4d7f343a4 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