Skip to content

Commit c43cea2

Browse files
committed
Fix compatibility with Visual Studio 2013 and older
Fix typo in the PYCAPI_COMPAT_STATIC_INLINE() macro.
1 parent 754a3d5 commit c43cea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythoncapi_compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extern "C" {
2626
// the inline keyword in C (only in C++): use __inline instead.
2727
#if (defined(_MSC_VER) && _MSC_VER < 1900 \
2828
&& !defined(__cplusplus) && !defined(inline))
29-
# define PYCAPI_COMPAT_INLINE(TYPE static __inline TYPE
29+
# define PYCAPI_COMPAT_STATIC_INLINE(TYPE) static __inline TYPE
3030
#else
3131
# define PYCAPI_COMPAT_STATIC_INLINE(TYPE) static inline TYPE
3232
#endif

0 commit comments

Comments
 (0)