summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 9a18e2d..f16b47b 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -46,6 +46,10 @@ PERFORMANCE OF THIS SOFTWARE.
#define UsingSharedLibs
#endif
+#if defined(__sgi) && defined(WITH_THREAD) && !defined(_SGI_MP_SOURCE)
+#define _SGI_MP_SOURCE
+#endif
+
#include <stdio.h>
#include <string.h>
#include <errno.h>