commit | 5e41644ddd1140140decfe58c260082d4b8cfc98 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jul 31 17:52:04 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jul 31 17:52:04 1996 +0000 |
tree | 9e0ceff466af0cc1cbf33c98b404ccd9e72a7202 | |
parent | 0c5e3c8d6a4a37a93c0c3f1543cc0699358301ff [diff] [blame] |
Added _REENTRANT definition
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index a646283..4181ea1 100644 --- a/Python/mystrtoul.c +++ b/Python/mystrtoul.c
@@ -26,6 +26,10 @@ #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__