From 5e41644ddd1140140decfe58c260082d4b8cfc98 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 31 Jul 1996 17:52:04 +0000 Subject: [PATCH] Added _REENTRANT definition --- Python/mystrtoul.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index a646283789..4181ea1f3d 100644 --- a/Python/mystrtoul.c +++ b/Python/mystrtoul.c @@ -26,6 +26,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "config.h" #endif +#ifdef WITH_THREAD +#define _REENTRANT +#endif + /* Convert a possibly signed character to a nonnegative int */ /* XXX This assumes characters are 8 bits wide */ #ifdef __CHAR_UNSIGNED__ -- 2.50.1