unistd/sched_sporadic: correct the disable value

Reference here:
https://github.com/openbsd/src/blob/master/include/unistd.h

Change-Id: Ifb08a69c9a2a2b68179bcfd716fb180ec3577e54
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2020-09-24 15:16:05 +08:00 committed by Alan Carvalho de Assis
parent 182507f325
commit 8604e98196

View File

@ -89,8 +89,8 @@
# define _POSIX_SPORADIC_SERVER 1
# define _POSIX_THREAD_SPORADIC_SERVER 1
#else
# undef _POSIX_SPORADIC_SERVER
# undef _POSIX_THREAD_SPORADIC_SERVER
# define _POSIX_SPORADIC_SERVER -1
# define _POSIX_THREAD_SPORADIC_SERVER -1
#endif
/* Execution time constants (not supported) */