diff --git a/LunaHook/engines/python/python3.cpp b/LunaHook/engines/python/python3.cpp index 68a32f5..db8c690 100644 --- a/LunaHook/engines/python/python3.cpp +++ b/LunaHook/engines/python/python3.cpp @@ -3,6 +3,9 @@ #include"main.h" #include"defs.h" namespace { +#define PyUnicode_IS_READY(op) 1 +#define PyUnicode_Check(op) 1 + #ifdef Py_TRACE_REFS /* Define pointers to support a doubly-linked list of all live heap objects. */ #define _PyObject_HEAD_EXTRA \