diff options
Diffstat (limited to 'cffi/_embedding.h')
-rw-r--r-- | cffi/_embedding.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cffi/_embedding.h b/cffi/_embedding.h index b6fe359..0c2987c 100644 --- a/cffi/_embedding.h +++ b/cffi/_embedding.h @@ -246,7 +246,9 @@ static int _cffi_initialize_python(void) goto done; } +#if PY_VERSION_HEX < 0x03080000 PyAPI_DATA(char *) _PyParser_TokenNames[]; /* from CPython */ +#endif static int _cffi_carefully_make_gil(void) { |