[New-bugs-announce] [issue30253] Python does not build without WITH_THREADS defined on Windows/Visual Studio
report at bugs.python.org
Wed May 3 06:10:00 EDT 2017
New submission from Stephen Kelly:
As there is no configuration system for python on Windows (issue30252) I tried to change pyconfig.h to comment out some lines:
// #define NT_THREADS
// #define WITH_THREAD
After building, I had to additionally patch
* threadmodule.c and thread.c to exclude all content (I don't know if there is a way to exclude the file entirely with the Python build system - there should be something like that as part of a configure system).
* Wrap uses of PyThread_get_thread_ident() in ifdefs in timemodule.c. This is surprising because I would expect it to not compile on any platform without the ifdefs.
title: Python does not build without WITH_THREADS defined on Windows/Visual Studio
versions: Python 3.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce