From 42123119d2c53e2cc5cf2f6e754251d0d719707a Mon Sep 17 00:00:00 2001 From: "Joseph C, Hill" Date: Thu, 13 Jul 2017 21:35:42 +0100 Subject: [PATCH] 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 ticket : #13601 --- headers/posix/unistd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/headers/posix/unistd.h b/headers/posix/unistd.h index 9c8fc77099..3c9a3f67de 100644 --- a/headers/posix/unistd.h +++ b/headers/posix/unistd.h @@ -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)