Document that _POSIX_SEMAPHORES is predefined.
This commit is contained in:
parent
cc89866b65
commit
42ab61eeab
|
@ -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…
Reference in New Issue