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:
committed by
Adrien Destugues
parent
a7ba98ee5b
commit
42123119d2
@@ -39,6 +39,7 @@
|
|||||||
/* TODO: Check this! */
|
/* TODO: Check this! */
|
||||||
/* TODO: Update these to the current POSIX version! Ideally after actually
|
/* TODO: Update these to the current POSIX version! Ideally after actually
|
||||||
supporting the features. */
|
supporting the features. */
|
||||||
|
#define _POSIX_BARRIERS (200112L)
|
||||||
#define _POSIX_SEMAPHORES (200112L)
|
#define _POSIX_SEMAPHORES (200112L)
|
||||||
#define _POSIX_THREADS (200112L)
|
#define _POSIX_THREADS (200112L)
|
||||||
#define _POSIX_MAPPED_FILES (200809L)
|
#define _POSIX_MAPPED_FILES (200809L)
|
||||||
|
|||||||
Reference in New Issue
Block a user