mirror of
https://github.com/python/cpython.git
synced 2025-09-18 14:40:43 +00:00
Added _REENTRANT definition
This commit is contained in:
parent
0c5e3c8d6a
commit
5e41644ddd
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WITH_THREAD
|
||||||
|
#define _REENTRANT
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Convert a possibly signed character to a nonnegative int */
|
/* Convert a possibly signed character to a nonnegative int */
|
||||||
/* XXX This assumes characters are 8 bits wide */
|
/* XXX This assumes characters are 8 bits wide */
|
||||||
#ifdef __CHAR_UNSIGNED__
|
#ifdef __CHAR_UNSIGNED__
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue