fix-build.patch 732 B

1234567891011121314151617
  1. commit 9b726d183d9b023f472f788f4e87136eaee3edf8
  2. author: shadchin
  3. date: 2023-01-09T20:49:50+03:00
  4. Fix devtools/dummy_arcadia/test/system_python
  5. --- contrib/tools/python3/Include/cpython/pythread.h (a09217b707768f106bfed2d616636b38cfce2f13)
  6. +++ contrib/tools/python3/Include/cpython/pythread.h (9b726d183d9b023f472f788f4e87136eaee3edf8)
  7. @@ -21,7 +21,7 @@ PyAPI_FUNC(int) _PyThread_at_fork_reinit(PyThread_type_lock *lock);
  8. */
  9. # define NATIVE_TSS_KEY_T unsigned long
  10. #elif defined(HAVE_PTHREAD_STUBS)
  11. -# include "cpython/pthread_stubs.h"
  12. +#error # include "cpython/pthread_stubs.h"
  13. # define NATIVE_TSS_KEY_T pthread_key_t
  14. #else
  15. # error "Require native threads. See https://bugs.python.org/issue31370"