diff --git a/Include/Python.h b/Include/Python.h index 9a18e2d5348..f16b47b88b3 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 #include #include