summaryrefslogtreecommitdiffstats
path: root/Python/mystrtoul.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/mystrtoul.c')
-rw-r--r--Python/mystrtoul.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c
index f8135e1..cfe0074 100644
--- a/Python/mystrtoul.c
+++ b/Python/mystrtoul.c
@@ -31,6 +31,10 @@ PERFORMANCE OF THIS SOFTWARE.
#include "config.h"
+#if defined(__sgi) && defined(WITH_THREAD) && !defined(_SGI_MP_SOURCE)
+#define _SGI_MP_SOURCE
+#endif
+
/* Convert a possibly signed character to a nonnegative int */
/* XXX This assumes characters are 8 bits wide */
#ifdef __CHAR_UNSIGNED__