Kaydet (Commit) 19b2369d authored tarafından Anthony Baxter's avatar Anthony Baxter

Patch #1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no

support for posix semaphores.
üst 9f5f9d94
......@@ -16,9 +16,13 @@
family of functions must indicate this by defining
_POSIX_SEMAPHORES. */
#ifdef _POSIX_SEMAPHORES
#if _POSIX_SEMAPHORES == -1
#define HAVE_BROKEN_POSIX_SEMAPHORES
#else
#include <semaphore.h>
#include <errno.h>
#endif
#endif
#if !defined(pthread_attr_default)
# define pthread_attr_default ((pthread_attr_t *)NULL)
......
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