Mercurial > cpython-lru_cache-weakref
diff Python/thread_pthread.h @ 22341:2548e2f323fa legacy-trunk
Document that _POSIX_SEMAPHORES is predefined.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sun, 17 Mar 2002 17:19:00 +0000 |
| parents | 6c3e32357d91 |
| children | 3731be28e1a3 |
line wrap: on
line diff
--- a/Python/thread_pthread.h Sun Mar 17 09:53:51 2002 +0000 +++ b/Python/thread_pthread.h Sun Mar 17 17:19:00 2002 +0000 @@ -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>
