X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Fthrd_yield.c;h=0cb99acee7e374d2466f9955a794501095512fb3;hp=840157bdaf2441cb7f80fff871ecf7f3283139a4;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa diff --git a/opt/nothread/thrd_yield.c b/opt/nothread/thrd_yield.c index 840157b..0cb99ac 100644 --- a/opt/nothread/thrd_yield.c +++ b/opt/nothread/thrd_yield.c @@ -1,16 +1,18 @@ +#ifndef REGTEST #include void thrd_yield(void) { /* does nothing */ } +#endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) { return TEST_RESULTS; } -#endif \ No newline at end of file +#endif