diff -r d8ad391e10f5 -r 38b9a63d3a13 contrib/python-zstandard/zstd/common/pythoncapi_compat.h --- a/contrib/python-zstandard/zstd/common/pythoncapi_compat.h Mon Jan 25 16:46:51 2021 +0100 +++ b/contrib/python-zstandard/zstd/common/pythoncapi_compat.h Mon Jan 25 19:03:27 2021 -0500 @@ -20,6 +20,11 @@ #include "frameobject.h" // PyFrameObject, PyFrame_GetBack() +/* VC 2008 doesn't know about the inline keyword. */ +#if defined(_MSC_VER) && _MSC_VER < 1900 +#define inline __forceinline +#endif + // Cast argument to PyObject* type. #ifndef _PyObject_CAST # define _PyObject_CAST(op) ((PyObject*)(op))