From: Michalis Pappas Date: Tue, 1 Apr 2025 15:24:16 +0000 (+0200) Subject: lib/nolibc: Adapt to updated libposix-process config options X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=050a0ecec47bb59e912623f75ab33e17e0950311;p=unikraft%2Funikraft.git lib/nolibc: Adapt to updated libposix-process config options Following the consolidation of CONFIG_LIBPOSIX_PROCESS_PIDS and CONFIG_LIBPOSIX_PROCESS_CLONE into LIBPOSIX_PROCESS_MULTITHREADING, update to the new config. Signed-off-by: Michalis Pappas Approved-by: Andrei Tatar Reviewed-by: Sergiu Moga Reviewed-by: Andrei Tatar GitHub-Closes: #1627 --- diff --git a/lib/nolibc/include/sched.h b/lib/nolibc/include/sched.h index 0f728c8aa..99262a124 100644 --- a/lib/nolibc/include/sched.h +++ b/lib/nolibc/include/sched.h @@ -35,7 +35,7 @@ extern "C" { #endif -#if CONFIG_LIBPOSIX_PROCESS_CLONE +#if CONFIG_LIBPOSIX_PROCESS_MULTITHREADING #ifdef _GNU_SOURCE #define CLONE_NEWTIME 0x00000080 #define CLONE_VM 0x00000100 @@ -65,7 +65,7 @@ extern "C" { int clone(int (*fn)(void *), void *sp, int flags, void *arg, ...); #endif /* _GNU_SOURCE */ -#endif /* CONFIG_LIBPOSIX_PROCESS_CLONE */ +#endif /* CONFIG_LIBPOSIX_PROCESS_MULTITHREADING */ #ifdef __cplusplus }