Skip to content

Commit 1864eac

Browse files
bpo-40878: xlc cannot handle C99 extern inline. (GH-21891)
This applies to the default "extc99" mode. Python does not compile with "stdc99". (cherry picked from commit 40e700a) Authored-by: Stefan Krah <[email protected]>
1 parent fc8ffe2 commit 1864eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_decimal/libmpdec/mpdecimal.c

Lines changed: 1 addition & 1 deletion
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)