From 4b01ddbeb622192f71ba702056a5975eb6dae1f0 Mon Sep 17 00:00:00 2001
From: "Joseph C, Hill" <calvin@hakobaito.co.uk>
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.
---
headers/posix/unistd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/headers/posix/unistd.h b/headers/posix/unistd.h
index 9c8fc77..3c9a3f6 100644
a
|
b
|
|
39 | 39 | /* TODO: Check this! */ |
40 | 40 | /* TODO: Update these to the current POSIX version! Ideally after actually |
41 | 41 | supporting the features. */ |
| 42 | #define _POSIX_BARRIERS (200112L) |
42 | 43 | #define _POSIX_SEMAPHORES (200112L) |
43 | 44 | #define _POSIX_THREADS (200112L) |
44 | 45 | #define _POSIX_MAPPED_FILES (200809L) |