mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Fix some build breaks
This commit is contained in:
parent
27f7ffd4fd
commit
a81192e0b9
5 changed files with 5 additions and 10 deletions
4
third_party/python/Objects/abstract.c
vendored
4
third_party/python/Objects/abstract.c
vendored
|
@ -2210,9 +2210,8 @@ PyObject_CallObject(PyObject *o, PyObject *a)
|
|||
return PyEval_CallObjectWithKeywords(o, a, NULL);
|
||||
}
|
||||
|
||||
#ifdef MODE_DBG
|
||||
PyObject*
|
||||
_Py_CheckFunctionResult(PyObject *func, PyObject *result, const char *where)
|
||||
(_Py_CheckFunctionResult)(PyObject *func, PyObject *result, const char *where)
|
||||
{
|
||||
int err_occurred = (PyErr_Occurred() != NULL);
|
||||
|
||||
|
@ -2258,7 +2257,6 @@ _Py_CheckFunctionResult(PyObject *func, PyObject *result, const char *where)
|
|||
}
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
PyObject *
|
||||
PyObject_Call(PyObject *func, PyObject *args, PyObject *kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue