Kaydet (Commit) 90ce8488 authored tarafından Guido van Rossum's avatar Guido van Rossum

On SGI, we need to define _SGI_MP_SOURCE before including errno.h when

we are threading, otherwise accessing errno doesn't work right.
üst 9be62833
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment