From 8604e98196400f1b44a02d5da5e05489aa207ffd Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Thu, 24 Sep 2020 15:16:05 +0800 Subject: [PATCH] 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 --- include/unistd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/unistd.h b/include/unistd.h index b51d84386d..0f132f4df0 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -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) */