cfg: Add python macros to fix daca crashes

This commit is contained in:
Daniel Marjamäki 2019-07-16 13:30:44 +02:00
parent 1f7fdb229a
commit 760586dd0a
1 changed files with 2 additions and 0 deletions

View File

@ -168,4 +168,6 @@
<!-- Deprecated DL_IMPORT and DL_EXPORT macros -->
<define name="DL_IMPORT(RTYPE)" value="RTYPE"/>
<define name="DL_EXPORT(RTYPE)" value="RTYPE"/>
<define name="Py_BEGIN_ALLOW_THREADS" value=""/>
<define name="Py_END_ALLOW_THREADS" value=""/>
</def>