Commit 5c37c729 authored by Guido van Rossum's avatar Guido van Rossum

Ugly hack for SGI IRIX 6.2. Apparently _POSIX_THREADS is defined even

when the pthread package is not installed.  configure knows better, so
#undef _POSIX_THREADS when pthread.h does not exist.
parent e670473d
...@@ -49,6 +49,12 @@ extern char *getenv(); ...@@ -49,6 +49,12 @@ extern char *getenv();
#include <unistd.h> #include <unistd.h>
#endif #endif
#ifdef __sgi
#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */
#undef _POSIX_THREADS
#endif
#endif
#include "thread.h" #include "thread.h"
#ifdef __ksr__ #ifdef __ksr__
......
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