mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #27336: Fix compilation failures --without-threads
This commit is contained in:
parent
d4b45cb9ca
commit
531396c764
3 changed files with 6 additions and 3 deletions
|
@ -38,12 +38,13 @@ Py_Exit(int sts)
|
|||
}
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
/* Functions needed by obmalloc.c */
|
||||
/* Needed by obmalloc.c */
|
||||
int PyGILState_Check(void)
|
||||
{ return 1; }
|
||||
#endif
|
||||
|
||||
void _PyMem_DumpTraceback(int fd, const void *ptr)
|
||||
{}
|
||||
#endif
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue