commit | 42ab61eeabe45359f46a8378e572e5c73a8adb36 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sun Mar 17 17:19:00 2002 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sun Mar 17 17:19:00 2002 +0000 |
tree | 2971c818a896f2048d02a681ca881586fffff066 | |
parent | cc89866b65a313de0a304b2f1b13952ea2b3b595 [diff] |
Document that _POSIX_SEMAPHORES is predefined.
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 56aec44..556445e 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h
@@ -11,6 +11,10 @@ #undef destructor #endif #include <signal.h> + +/* The POSIX spec says that implementations supporting the sem_* + family of functions must indicate this by defining + _POSIX_SEMAPHORES. */ #ifdef _POSIX_SEMAPHORES #include <semaphore.h> #include <errno.h>