diff options
author | Guido van Rossum <guido@python.org> | 1996-07-31 17:52:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-07-31 17:52:04 (GMT) |
commit | 5e41644ddd1140140decfe58c260082d4b8cfc98 (patch) | |
tree | 9e0ceff466af0cc1cbf33c98b404ccd9e72a7202 /Python | |
parent | 0c5e3c8d6a4a37a93c0c3f1543cc0699358301ff (diff) | |
download | cpython-5e41644ddd1140140decfe58c260082d4b8cfc98.zip cpython-5e41644ddd1140140decfe58c260082d4b8cfc98.tar.gz cpython-5e41644ddd1140140decfe58c260082d4b8cfc98.tar.bz2 |
Added _REENTRANT definition
Diffstat (limited to 'Python')
-rw-r--r-- | Python/mystrtoul.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ 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__ |