mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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
|
#undef destructor
|
||||||
#endif
|
#endif
|
||||||
#include <signal.h>
|
#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
|
#ifdef _POSIX_SEMAPHORES
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue