diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pl/plpython/plpython.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pl/plpython/plpython.h b/src/pl/plpython/plpython.h index ec822577260..06fc1a5440f 100644 --- a/src/pl/plpython/plpython.h +++ b/src/pl/plpython/plpython.h @@ -20,6 +20,15 @@ #endif /* + * Enable Python Limited API + * + * XXX currently not enabled on MSVC because of build failures + */ +#if !defined(_MSC_VER) +#define Py_LIMITED_API 0x03020000 +#endif + +/* * Pull in Python headers via a wrapper header, to control the scope of * the system_header pragma therein. */ |