mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Document that _POSIX_SEMAPHORES is predefined.
This commit is contained in:
parent
cc89866b65
commit
42ab61eeab
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue