diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-03-17 17:19:00 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-03-17 17:19:00 (GMT) |
commit | 42ab61eeabe45359f46a8378e572e5c73a8adb36 (patch) | |
tree | 2971c818a896f2048d02a681ca881586fffff066 /Python | |
parent | cc89866b65a313de0a304b2f1b13952ea2b3b595 (diff) | |
download | cpython-42ab61eeabe45359f46a8378e572e5c73a8adb36.zip cpython-42ab61eeabe45359f46a8378e572e5c73a8adb36.tar.gz cpython-42ab61eeabe45359f46a8378e572e5c73a8adb36.tar.bz2 |
Document that _POSIX_SEMAPHORES is predefined.
Diffstat (limited to 'Python')
-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 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> |