unistd.h: define _POSIX_BARRIERS

This constant was missing in unistd.h and some applications
use it to check for pthread barriers support.

Signed-off-by: Adrien Destugues <[email protected]>

ticket : #13601
This commit is contained in:
Joseph C, Hill
2017-07-14 09:38:41 +02:00
committed by Adrien Destugues
parent a7ba98ee5b
commit 42123119d2
+1
View File
@@ -39,6 +39,7 @@
/* TODO: Check this! */
/* TODO: Update these to the current POSIX version! Ideally after actually
supporting the features. */
#define _POSIX_BARRIERS (200112L)
#define _POSIX_SEMAPHORES (200112L)
#define _POSIX_THREADS (200112L)
#define _POSIX_MAPPED_FILES (200809L)