Skip to content

Commit 40e700a

Browse files
authored
bpo-40878: xlc cannot handle C99 extern inline. (pythonGH-21887)
This applies to the default "extc99" mode. Python does not compile with "stdc99".
1 parent fa5d725 commit 40e700a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_decimal/libmpdec/mpdecimal.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
#if defined(_MSC_VER)
6666
#define ALWAYS_INLINE __forceinline
67-
#elif defined(LEGACY_COMPILER)
67+
#elif defined(__IBMC__) || defined(LEGACY_COMPILER)
6868
#define ALWAYS_INLINE
6969
#undef inline
7070
#define inline

0 commit comments

Comments
 (0)