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