mirror of
https://github.com/python/cpython.git
synced 2026-01-05 23:12:38 +00:00
gh-140126: Fix compile error if --with-assertions is enabled (#140133)
The `types_world_is_stopped()` function needs to be defined if NDEBUG is not defined.
This commit is contained in:
parent
2ca3c85054
commit
1e1f435196
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class object "PyObject *" "&PyBaseObject_Type"
|
|||
|
||||
#define END_TYPE_DICT_LOCK() Py_END_CRITICAL_SECTION2()
|
||||
|
||||
#ifdef Py_DEBUG
|
||||
#ifndef NDEBUG
|
||||
// Return true if the world is currently stopped.
|
||||
static bool
|
||||
types_world_is_stopped(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue