summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r--newlib/libc/include/sys/features.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index e86ce1344..f69c803ff 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -86,6 +86,7 @@ extern "C" {
# define _POSIX_THREAD_SAFE_FUNCTIONS 1
# define _POSIX_THREAD_PRIORITY_SCHEDULING 1
# define _POSIX_THREAD_ATTR_STACKSIZE 1
+# define _POSIX_SEMAPHORES 1
#endif
#ifdef __cplusplus