]> granicus.if.org Git - python/commitdiff
Added _REENTRANT definition
authorGuido van Rossum <guido@python.org>
Wed, 31 Jul 1996 17:52:04 +0000 (17:52 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 31 Jul 1996 17:52:04 +0000 (17:52 +0000)
Python/mystrtoul.c

index a6462837899b688ca614dfca4e2d6f258dfa3a58..4181ea1f3ddfecba47081dd388f640fbf1e9ff04 100644 (file)
@@ -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__