unistd: add _POSIX_SEMAPHORES definition
add _POSIX_SEMAPHORES definition can make the ltp testcase: ltp_functional_semaphores_sem_conpro, ltp_functional_semaphores_sem_philosopher, ltp_functional_semaphores_sem_lock, ltp_stress_semaphores_multi_con_pro, ltp_functional_semaphores_sem_readerwriter, ltp_functional_semaphores_sem_sleepingbarber passed Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
1389a686ba
commit
6683699c70
|
@ -66,6 +66,7 @@
|
|||
#define _POSIX_THREAD_CPUTIME _POSIX_VERSION
|
||||
#define _POSIX_REALTIME_SIGNALS _POSIX_VERSION
|
||||
#define _POSIX_THREAD_PRIORITY_SCHEDULING _POSIX_VERSION
|
||||
#define _POSIX_SEMAPHORES _POSIX_VERSION
|
||||
|
||||
#ifdef CONFIG_FS_AIO
|
||||
# define _POSIX_ASYNCHRONOUS_IO _POSIX_VERSION
|
||||
|
|
Loading…
Reference in New Issue