diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2002-03-17 17:19:00 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2002-03-17 17:19:00 +0000 |
| commit | 7ce73e06fa8f741de0668718d6bdf61fb84d6fa6 (patch) | |
| tree | 080ba310475f5a711b46abe2b06e2fb1854fdd5c /Python/thread_pthread.h | |
| parent | 639fc8e221fc529850185b3defd53ea857f973fd (diff) | |
| download | cpython-7ce73e06fa8f741de0668718d6bdf61fb84d6fa6.tar.gz | |
Document that _POSIX_SEMAPHORES is predefined.
Diffstat (limited to 'Python/thread_pthread.h')
| -rw-r--r-- | Python/thread_pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 56aec4460d..556445e583 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> |
