X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fapi%2Fspawn.c;h=94511eaac5658a4543fe5840848c6d6a3162e27f;hb=2bfb414517031063e18dc4a07543e279dc07461d;hp=6cd91ce04378fee48c5ecbc5e8ee4dd75a18fdb5;hpb=3c60f40d564ec78f1403eff277095640aed3f01c;p=libc-test diff --git a/src/api/spawn.c b/src/api/spawn.c index 6cd91ce..94511ea 100644 --- a/src/api/spawn.c +++ b/src/api/spawn.c @@ -1,4 +1,5 @@ #include +#include "options.h" #define T(t) (t*)0; #define C(n) switch(n){case n:;} static void f() @@ -11,7 +12,7 @@ T(sigset_t) T(struct sched_param) C(POSIX_SPAWN_RESETIDS) C(POSIX_SPAWN_SETPGROUP) -#ifdef X_PS +#ifdef POSIX_PRIORITY_SCHEDULING C(POSIX_SPAWN_SETSCHEDPARAM) C(POSIX_SPAWN_SETSCHEDULER) #endif @@ -39,7 +40,7 @@ static void g() {int(*p)(posix_spawnattr_t*restrict,const sigset_t*restrict) = posix_spawnattr_setsigdefault;} {int(*p)(posix_spawnattr_t*restrict,const sigset_t*restrict) = posix_spawnattr_setsigmask;} } -#ifdef X_PS +#ifdef POSIX_PRIORITY_SCHEDULING #include static void h() {