Commit 42ab61ee authored by Martin v. Löwis's avatar Martin v. Löwis

Document that _POSIX_SEMAPHORES is predefined.

parent cc89866b
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment