From: Guido van Rossum Date: Wed, 31 Jul 1996 17:52:04 +0000 (+0000) Subject: Added _REENTRANT definition X-Git-Tag: v1.4b2~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e41644ddd1140140decfe58c260082d4b8cfc98;p=python Added _REENTRANT definition --- 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__